Clarify installation error message that is shown when /nix/store exists but is not writable by the user

This commit is contained in:
Jeremy Shaw 2015-12-06 11:00:03 -06:00
parent d1e3bf01bc
commit 3afa16e16f

View file

@ -33,7 +33,7 @@ if ! [ -e $dest ]; then
fi
if ! [ -w $dest ]; then
echo "$0: directory $dest exists, but is not writable by you; please run chown -R $USER $dest as root" >&2
echo "$0: directory $dest exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system. If you wish to enable multi-user support see http://nixos.org/nix/manual/#ssec-multi-user. If you wish to continue with a single-user install for $USER please run chown -R $USER $dest as root." >&2
exit 1
fi