[Nix-dev] nixos-rebuild and pkgs - no env var?

Eelco Dolstra e.dolstra at tudelft.nl
Thu Mar 13 11:18:37 CET 2008


Marc Weber wrote:

> today I've noticed that you can pass NIX_CONFIG and NIXOS when running
> nixos-rebuild.. However the code compiling nix first has the hardcoded
> path
> /etc/nixos/pkgs .. does this make sense?
> Maybe we should introduce
> NIXOS_PKGS here as well ?

Good idea, I've just done this in r11096.  The environment variable is $NIXPKGS.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list