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