Hi,

Marc Weber <[EMAIL PROTECTED]> writes:

> 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 ?

The `$NIXOS' variable can also serve that purpose.  I always do:

  # NIXOS=/home/ludo/src/nixos/trunk nixos-rebuild

And that directory points to my local copy of Nixpkgs under my user home
dir.

Thanks,
Ludovic.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to