Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created July 30, 2019 15:46
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 grahamc/198ebbd2a33be937373dd87f5d16d034 to your computer and use it in GitHub Desktop.
Save grahamc/198ebbd2a33be937373dd87f5d16d034 to your computer and use it in GitHub Desktop.
current output:
$ ./inst/bin/nix-build ../test.nix
these derivations will be built:
/nix/store/6l8q26m334cqxc2j2rwwm3bhnr9nqgn1-hi.drv
building '/nix/store/6l8q26m334cqxc2j2rwwm3bhnr9nqgn1-hi.drv'...
hello!
bye!
post-build-hook: Signing paths /nix/store/wn3gs2s0r59w0vx7yr5wmbv1jssnnwx3-hi
post-build-hook: Uploading paths /nix/store/wn3gs2s0r59w0vx7yr5wmbv1jssnnwx3-hi
/nix/store/wn3gs2s0r59w0vx7yr5wmbv1jssnnwx3-hi
wanted output:
$ ./inst/bin/nix-build ../test.nix
these derivations will be built:
/nix/store/6l8q26m334cqxc2j2rwwm3bhnr9nqgn1-hi.drv
building '/nix/store/6l8q26m334cqxc2j2rwwm3bhnr9nqgn1-hi.drv'...
hello!
bye!
running post-build-hook '/nix/store/6l8q26m334cqxc2j2rwwm3bhnr9nqgn1-hi.drv'...
post-build-hook: Signing paths /nix/store/wn3gs2s0r59w0vx7yr5wmbv1jssnnwx3-hi
post-build-hook: Uploading paths /nix/store/wn3gs2s0r59w0vx7yr5wmbv1jssnnwx3-hi
/nix/store/wn3gs2s0r59w0vx7yr5wmbv1jssnnwx3-hi
-----
current output:
$ ./inst/bin/nix build -L -f ../test.nix
hi> hello!
hi> bye!
[1/0/1 built, 0.0 MiB DL] running post-build-hook for hi
^ looking good!
wanted output:
$ ./inst/bin/nix build -L -f ../test.nix
hi> hello!
hi> bye!
[1/0/1 built, 0.0 MiB DL] running post-build-hook for hi: Signing paths /ni...
-------
current output:
$ ./inst/bin/nix build -L -f ../test.nix
hi> hello!
hi> bye!
[1/0/1 built, 0.0 MiB DL] running post-build-hook for hi
then
./inst/bin/nix build -L -f ../test.nix
hi> hello!
hi> bye!
post-build-hook: Signing paths /nix/store/7vnnccbd244yqyfg7j2lmycmy299ca8n-hi
post-build-hook: Uploading paths /nix/store/7vnnccbd244yqyfg7j2lmycmy299ca8n-hi
[1 built, 0.0 MiB DL]
is this good?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment