mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
Clarify installation error message that is shown when /nix/store exists but is not writable by the user
This commit is contained in:
parent
d1e3bf01bc
commit
3afa16e16f
@ -33,7 +33,7 @@ if ! [ -e $dest ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -w $dest ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user