Guest User

Untitled

a guest
Dec 5th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. nix-repl> :l <nixpkgs>
  2. Added 8100 variables.
  3.  
  4. nix-repl> simple = derivation { name = "simple"; builder = "${bash}/bin/bash"; args = [ ./simple_builder.sh ]; gcc = stdenv.cc; coreutils = coreutils; src = ./simple.c; system = builtins.currentSystem; }
  5.  
  6. nix-repl> :b simple
  7. these derivations will be built:
  8. /nix/store/fi3ygvhbkgpqzgp0if5j2hynf3jay6l0-simple.drv
  9. building path(s) ‘/nix/store/80svrhb6anr25lic6l0xsmcwa0gkr6ki-simple’
  10. /nix/store/4wpv68jkvw9nbnh4qcblnfvdfnn74kbn-simple_builder.sh: line 3: gcc: command not found
  11. builder for ‘/nix/store/fi3ygvhbkgpqzgp0if5j2hynf3jay6l0-simple.drv’ failed with exit code 127
  12. error: build of ‘/nix/store/fi3ygvhbkgpqzgp0if5j2hynf3jay6l0-simple.drv’ failed
  13.  
  14. nix-repl>
Add Comment
Please, Sign In to add comment