Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created March 12, 2020 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/a9b48e2fc7bdd8fd45869a6451cc49c8 to your computer and use it in GitHub Desktop.
Save LnL7/a9b48e2fc7bdd8fd45869a6451cc49c8 to your computer and use it in GitHub Desktop.
nix-repl> :b runCommand "foo" {} '' for i in {1..10}; do echo $i; done; echo error; exit 42 ''
builder for '/nix/store/rgbpr4dxb05gysnh744x5v00m6inf0y9-foo.drv' failed with exit code 42; last 11 log lines:
1
2
3
4
5
6
7
8
9
10
error
[0 built (1 failed), 0.0 MiB DL]
error: build of '/nix/store/rgbpr4dxb05gysnh744x5v00m6inf0y9-foo.drv' failed
$ nix log /nix/store/rgbpr4dxb05gysnh744x5v00m6inf0y9-foo.drv
[0.0 MiB DL]
1
2
3
4
5
6
7
8
9
10
error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment