nixos-rebuild: Determine `$NIXPKGS' from `$NIXOS' by default.

svn path=/nixos/trunk/; revision=11200
This commit is contained in:
Ludovic Courtès 2008-03-19 12:27:30 +00:00
parent 473d75fc46
commit 3a973ab55c
1 changed files with 1 additions and 1 deletions

View File

@ -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}