An option for times when I only want to init Nix in chroot and build system semi-manually.
svn path=/nixos/trunk/; revision=15509
This commit is contained in:
parent
5cbcb9762d
commit
5b368b22bf
|
@ -135,6 +135,10 @@ if test -n "@nixpkgsURL@" -a ${NIXOS_PULL:-1} != 0; then
|
||||||
chroot $mountPoint @nix@/bin/nix-pull @nixpkgsURL@/MANIFEST || true
|
chroot $mountPoint @nix@/bin/nix-pull @nixpkgsURL@/MANIFEST || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -n "$NIXOS_PREPARE_CHROOT_ONLY"; then
|
||||||
|
echo "User requested only to prepare chroot. Exiting."
|
||||||
|
exit 0;
|
||||||
|
fi
|
||||||
|
|
||||||
# Build the specified Nix expression in the target store and install
|
# Build the specified Nix expression in the target store and install
|
||||||
# it into the system configuration profile.
|
# it into the system configuration profile.
|
||||||
|
|
Loading…
Reference in New Issue