diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-17 00:36:38 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-17 00:36:38 +0100 |
| commit | f8353f2336ffca72e59c7d577e4a0f1284263655 (patch) | |
| tree | a503c4653d7724d55b1b5198e59767da0c22809b /modules | |
| parent | 4747989bc6f2b2f97233bb094adc1b39dea9ec97 (diff) | |
nix: remove redundant user check
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nix/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 0b9cba8..6a6316d 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -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 ''; |
