diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-11-08 08:00:29 -0800 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-11-08 08:00:29 -0800 |
commit | 05d258667d12b2decda87024a59250c43343b509 (patch) | |
tree | e50127ceac0781f0b4f091adb70111e3a1a30a0f /src/libstore/build | |
parent | 2fde7e0108d70bcba64ebecc5e5c7ee2863e3446 (diff) |
Fix build on macOS
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index 09da87476..45ea9968f 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -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"); |