From 3a973ab55cd982f3579b130a3e77a40c35ce8cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 19 Mar 2008 12:27:30 +0000 Subject: [PATCH] nixos-rebuild: Determine `$NIXPKGS' from `$NIXOS' by default. svn path=/nixos/trunk/; revision=11200 --- installer/nixos-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/nixos-rebuild.sh b/installer/nixos-rebuild.sh index 0691f5ccfbd..4183741b202 100644 --- a/installer/nixos-rebuild.sh +++ b/installer/nixos-rebuild.sh @@ -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}