nixos-rebuild: Determine `$NIXPKGS' from `$NIXOS' by default.
svn path=/nixos/trunk/; revision=11200
This commit is contained in:
parent
473d75fc46
commit
3a973ab55c
|
@ -25,7 +25,7 @@ if test -z "$action"; then showSyntax; fi
|
||||||
# Allow the location of NixOS sources and the system configuration
|
# Allow the location of NixOS sources and the system configuration
|
||||||
# file to be overridden.
|
# file to be overridden.
|
||||||
NIXOS=${NIXOS:-/etc/nixos/nixos}
|
NIXOS=${NIXOS:-/etc/nixos/nixos}
|
||||||
NIXPKGS=${NIXPKGS:-/etc/nixos/nixpkgs}
|
NIXPKGS=${NIXPKGS:-$NIXOS/pkgs}
|
||||||
NIXOS_CONFIG=${NIXOS_CONFIG:-/etc/nixos/configuration.nix}
|
NIXOS_CONFIG=${NIXOS_CONFIG:-/etc/nixos/configuration.nix}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue