1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 18:57:08 +00:00

clarify store/state permission check

This commit is contained in:
Daiderd Jordan 2020-10-18 23:31:38 +02:00
parent 828879f930
commit db82d8b9af
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -157,7 +157,11 @@ let
echo >&2 "error: the store is not owned by this user, but /nix/var/nix/db is writable"
echo >&2 "If you are using the daemon:"
echo >&2
echo >&2 " sudo chown -R /nix/var/nix/db"
echo >&2 " sudo chown -R root:wheel /nix/var/nix/db"
echo >&2
echo >&2 "Otherwise:"
echo >&2
echo >&2 " sudo chown -R $USER:staff /nix/store"
echo >&2
exit 2
fi