mirror of
https://github.com/NixOS/nix
synced 2025-07-13 17:10:47 +02:00
Address ifdef problem with macOS/BSD sandboxing
This commit is contained in:
parent
b196922bcc
commit
e2ef2cfcbc
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ bool useBuildUsers()
|
|||
#ifdef __linux__
|
||||
static bool b = (settings.buildUsersGroup != "" || settings.autoAllocateUids) && isRootUser();
|
||||
return b;
|
||||
#elif defined(__APPLE__) && defined(__FreeBSD__)
|
||||
#elif defined(__APPLE__) || defined(__FreeBSD__)
|
||||
static bool b = settings.buildUsersGroup != "" && isRootUser();
|
||||
return b;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue