about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/globals.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index 86fa56739c5d..c359367bba6d 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -40,6 +40,7 @@ Settings::Settings()
     useSQLiteWAL = true;
     syncBeforeRegistering = false;
     useSubstitutes = true;
+    buildUsersGroup = getuid() == 0 ? "nixbld" : "";
     useChroot = false;
     useSshSubstituter = false;
     impersonateLinux26 = false;