Merge pull request #3054 from matthewbauer/nix-dir-macos
Allow empty /nix directory in multi-user installer
This commit is contained in:
commit
bd285849ed
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -d /nix ]; then
|
if [ -d /nix/store ] || [ -d /nix/var ]; then
|
||||||
failure <<EOF
|
failure <<EOF
|
||||||
There are some relics of a previous installation of Nix at /nix, and
|
There are some relics of a previous installation of Nix at /nix, and
|
||||||
this scripts assumes Nix is _not_ yet installed. Please delete the old
|
this scripts assumes Nix is _not_ yet installed. Please delete the old
|
||||||
|
|
Loading…
Reference in a new issue