install-nix-from-closure: Don't run nix-store --verify

Verification is slow. Also, we really shouldn't advise users to nuke
their store.
This commit is contained in:
Eelco Dolstra 2016-04-12 16:01:38 +02:00
parent 58e423ce32
commit a54736355a

View file

@ -68,11 +68,6 @@ if ! $nix/bin/nix-store --load-db < $self/.reginfo; then
exit 1 exit 1
fi fi
if ! $nix/bin/nix-store --verify; then
echo "$0: store verification failed! Consider deleting /nix and starting over" >&2
exit 1
fi
. $nix/etc/profile.d/nix.sh . $nix/etc/profile.d/nix.sh
if ! $nix/bin/nix-env -i "$nix"; then if ! $nix/bin/nix-env -i "$nix"; then