You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nix-build --run-env with --add-root not working as expected #250
~/Projects/MyEnv $ nix-build --run-env '<nixpkgs>' -A irssi
works fine but when I try it with add-root I get surprising results:
~/Projects/MyEnv $ nix-build --run-env '<nixpkgs>' -A irssi --add-root myroot error: creating a garbage collector root (/nix/store/27irakzga2m3wiv7977hafjr8kaa3plb-stdenv.drv) in the Nix store is forbidden (are you running nix-build inside the store?) /run/current-system/sw/bin/nix-build: failed to build all dependencies
with --indirect
~/Projects/MyEnv $ nix-build --run-env '<nixpkgs>' -A irssi --add-root myroot --indirect
error: path `/home/goibhniu/Projects/MyEnv/--indirect' is not a valid garbage collector root; it's not in the directory `/nix/var/nix/gcroots'
/run/current-system/sw/bin/nix-build: failed to build all dependencies
Activity
cillianderoiste commentedon Jan 9, 2013
I realised afterwards that I should have added this ticket to the nix issue tracker, then I found this:
NixOS/nix#68
I'll try again with this syntax later, and then see if I can move the issue (or close it and add a new one there instead).
cillianderoiste commentedon Jan 9, 2013
moved to NixOS/nix#86
gcc/ng: bump to `7b39423abba`; `libgcc` drops its inner gcc build ent…
gcc/ng: drop two absorbed backports; `libatomic` states `CFLAGS`