mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 08:42:30 +00:00
Merge pull request #3054 from matthewbauer/nix-dir-macos
Allow empty /nix directory in multi-user installer
This commit is contained in:
commit
bd285849ed
@ -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 New Issue
Block a user