Skip to content

Commit 711c816

Browse files
authored
Merge pull request #447 from nix-community/phaer-no-pre-switch-checks
Don't run preSwitchChecks during install
2 parents c700f35 + be2d9d7 commit 711c816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-anywhere.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ if [ ${copyHostKeys-n} = "y" ]; then
691691
cp -a "\$p" "/mnt/\$p"
692692
done
693693
fi
694-
nixos-install --no-root-passwd --no-channel-copy --system "$nixosSystem"
694+
NIXOS_NO_CHECK=1 nixos-install --no-root-passwd --no-channel-copy --system "$nixosSystem"
695695
if [[ ${phases[reboot]} == 1 ]]; then
696696
if command -v zpool >/dev/null && [ "\$(zpool list)" != "no pools available" ]; then
697697
# we always want to export the zfs pools so people can boot from it without force import

0 commit comments

Comments
 (0)