1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

nix: remove redundant user check

This commit is contained in:
Daiderd Jordan 2018-01-17 00:36:38 +01:00
parent 4747989bc6
commit f8353f2336
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -367,7 +367,7 @@ in
environment.extraInit = ''
# Set up secure multi-user builds: non-root users build through the
# Nix daemon.
if [ "$USER" != root -a ! -w /nix/var/nix/db ]; then
if [ ! -w /nix/var/nix/db ]; then
export NIX_REMOTE=daemon
fi
'';