Skip to content

Commit

Permalink
More completely fix recursive nix, unbreak tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Feb 7, 2018
1 parent 88b5d0c commit f201b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix-daemon/nix-daemon.cc
Expand Up @@ -994,7 +994,7 @@ static void daemonLoop(char * * argv)
if (matchUser(user, group, trustedUsers))
trusted = true;

if ((!trusted && !matchUser(user, group, allowedUsers)) || group == "nixbld")
if ((!trusted && !matchUser(user, group, allowedUsers)) || group == settings.buildUsersGroup)
throw Error(format("user '%1%' is not allowed to connect to the Nix daemon") % user);

printInfo(format((string) "accepted connection from pid %1%, user %2%" + (trusted ? " (trusted)" : ""))
Expand Down

0 comments on commit f201b77

Please sign in to comment.