Hello, 2009/10/3 Eelco Dolstra <[email protected]>: > Hi, > > Lluís Batlle wrote: > >> I can't get "nixos-rebuild" to take closures from NIX_OTHER_STORES, >> while "nix-build -A system /etc/nixos/nixos" uses the other stores >> without problem. > > I assume you're setting $NIX_OTHER_STORES to something other than the default > (/var/run/nix/remote-stores/*/nix). Right. > > In that case it's because nixos-rebuild tries to build through the Nix daemon, > which doesn't see your environment variables. The daemon should use > /var/run/nix/remote-stores/*/nix, however. Ah, ok. I did not expect nixos-rebuild used the daemon, while the system bashrc disables NIX_REMOTE for root.
Thank you, Lluís. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
