Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created April 18, 2019 12:37
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/0225db64e784631862cc921062ccdecc to your computer and use it in GitHub Desktop.
Save LnL7/0225db64e784631862cc921062ccdecc to your computer and use it in GitHub Desktop.
$ nix-build -E 'with import <nixpkgs> {}; runCommand "foo" {} "date +%s > $out"' --check
checking outputs of '/nix/store/6h29kr8pp5smzl0p5ikv71g4yxpjj55d-foo.drv'...
warning: rewriting hashes in '/nix/store/zp7laz60z7smciz5i7la6nrj33531k0b-foo'; cross fingers
error: derivation '/nix/store/6h29kr8pp5smzl0p5ikv71g4yxpjj55d-foo.drv' may not be deterministic: output '/nix/store/zp7laz60z7smciz5i7la6nrj33531k0b-foo' differs
$ echo $? /src/dotfiles
102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment