New issue
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
Add a quick way to check logs from nix build and nix-build #7364
Comments
If |
Or |
@Kha that doesn't work:
@SuperSandro2000 did you read what I described? copy-pasting is slow and cumbersome. Also the ./result link isn't created if it's not built, so it's going to be stale or non-existent, and it's also outputs junk on completed build because we want the <hash>.drv folder, not the "output". |
Ah, it doesn't work if it's a dependency that failed as I wrote in #2420 (comment). But the same is true for your second proposed solution, surely |
Thinking about this: how would people feel about, say, a |
Pain point:
As per the issue below
nix build
truncates output and gives you a command to copy and paste or type, with a big long hash complicating things.With nix-build it's possible to blow out your scrollback buffer on occasion, and then you have to google how to check logs in nix, it's not intuitive.
solutions:
A command like
nix log --last
or
symlink the drv, so just like
./result
we can quickly access the derivation, we can then just issuenix log
implyingnix log .
issue:
#2420
The text was updated successfully, but these errors were encountered: