mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
Fix build on macOS
This commit is contained in:
parent
2fde7e0108
commit
05d258667d
4 changed files with 28 additions and 12 deletions
|
|
@ -659,7 +659,7 @@ void LocalDerivationGoal::startBuilder()
|
|||
}
|
||||
|
||||
#else
|
||||
if (useUidRange)
|
||||
if (parsedDrv->useUidRange())
|
||||
throw Error("feature 'uid-range' is not supported on this platform");
|
||||
if (useSystemdCgroup)
|
||||
throw Error("feature 'systemd-cgroup' is not supported on this platform");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue