Skip to content
Discussion options

You must be logged in to vote

Hi @samuelburnham ! Printing build logs is controlled by nix itself. You can pass -L (or --print-build-logs) to print the logs as the derivations are being built which is likely what you'd want to pass in your CI invocation.

For derivations that have already been built, you can use nix log to view their logs, or you can run nix build -L --rebuild to rebuild it from scratch.

Hope this helps!


but that results in error: unable to execute '/nix/store/<...>-quick-start-nextest-0.1.0/bin/quick-start-nextest': No such file or directory

This sounds like you may have tried to use nix run .#test, when in reality you should run nix build .#test -L here. The test derivation does not produce any "r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samuelburnham
Comment options

Answer selected by ipetkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants