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:
parent
4747989bc6
commit
f8353f2336
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue