forked from mirrors/nixpkgs
fix nixos-intall(2). Now the configuration is built correctly.
Passing --arg configuration does no longer work! svn path=/nixos/trunk/; revision=18983
This commit is contained in:
parent
4b5864666e
commit
181f4bee26
|
@ -118,7 +118,6 @@ INFO "building the system configuration..."
|
|||
@nix@/bin/nix-env \
|
||||
-p /nix/var/nix/profiles/system \
|
||||
-f "$NIXOS" \
|
||||
--arg configuration "import $NIXOS_CONFIG" \
|
||||
--set -A system \
|
||||
$NIX_ENV_ARGS
|
||||
|
||||
|
|
|
@ -152,7 +152,6 @@ echo "building the system configuration..."
|
|||
NIXPKGS=/mnt/etc/nixos/nixpkgs chroot $mountPoint @nix@/bin/nix-env \
|
||||
-p /nix/var/nix/profiles/system \
|
||||
-f "/mnt$NIXOS" \
|
||||
--arg configuration "import $NIXOS_CONFIG" \
|
||||
--set -A system
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue