aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-11-08 08:00:29 -0800
committerEelco Dolstra <edolstra@gmail.com>2022-11-08 08:00:29 -0800
commit05d258667d12b2decda87024a59250c43343b509 (patch)
treee50127ceac0781f0b4f091adb70111e3a1a30a0f /src/libstore/build/local-derivation-goal.cc
parent2fde7e0108d70bcba64ebecc5e5c7ee2863e3446 (diff)
Fix build on macOS
Diffstat (limited to 'src/libstore/build/local-derivation-goal.cc')
-rw-r--r--src/libstore/build/local-derivation-goal.cc2
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");