use-formatter
plugin #326
Labels
No labels
Area/build-packaging
Area/evaluator
Area/flakes
Area/profiles
Area/remote-builds
Area/repl
Area/store
bug
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#326
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I want to propose a plugin that I'll call
use-formatter
that allows to intercept the output of nix before outputting to std{out,err}. This would make using things likenom
more convenient.The good thing about this is that it wouldn't change anything for users who don't use this.
Another thing that would be possible is having some special environment variable like e.g.
NIX_FORMATTER_EXECUTABLE
that the user can set to link to some formatting plugin.Thank you for considering this!
I feel like the safer way to do this is to just use shell aliases tbh, my perception is that there are an unreasonable number of edge cases in this approach. But you could, say, write a plugin that adds a new log-format that dumps it into nom if you wanted this.