We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(nushell is used cause output is nice)
(nix "build" "nixpkgs#hello" "--log-format" "internal-json" --print-out-paths o+e>| nom --json) | complete ╭───────────┬──────────────────────────────────────────────────────────╮ │ stdout │ │ │ stderr │ /nix/store/kwmqk7ygvhypxadsdaai27gl6qfxv7za-hello-2.12.1 │ │ │ Finished at 23:57:05 after 0s │ │ │ │ │ exit_code │ 0 │ ╰───────────┴──────────────────────────────────────────────────────────╯ (nom "build" "nixpkgs#hello" "--log-format" "internal-json" --print-out-paths) | complete ╭───────────┬──────────────────────────────────────────────────────────╮ │ stdout │ /nix/store/kwmqk7ygvhypxadsdaai27gl6qfxv7za-hello-2.12.1 │ │ │ │ │ stderr │ Finished at 23:57:32 after 0s │ │ │ │ │ exit_code │ 0 │ ╰───────────┴──────────────────────────────────────────────────────────╯
It should probably be possible to just print out non-json stuff from stdin to stdout instead of stderr? I am not sure if it will break anything.
The text was updated successfully, but these errors were encountered:
Problems like this are one of the reasons that I prefer the wrapper.
The problem is that nom can’t tell which part of the input were stdout and which ones stderr.
I honestly forgot. Have you tried what happens if stdout is not passed to nom?
Sorry, something went wrong.
Wrapper is nice as long as I don't receive everything over ssh. Can I specify what to wrap?
No, not currently. The main point of the wrapper was that it can add some flags to nix-build without you needing to worry about it.
No branches or pull requests
(nushell is used cause output is nice)
It should probably be possible to just print out non-json stuff from stdin to stdout instead of stderr?
I am not sure if it will break anything.
The text was updated successfully, but these errors were encountered: