aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-31 15:59:14 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-03-31 15:59:14 +0200
commitd7fc33c8426768040b322a060b5a50433b3a78e6 (patch)
tree7734349b56f893d9299fcf5b594683f90457ae2f /src/libstore/build/local-derivation-goal.cc
parent162beb25955adcedeed76e97510feb577d4f86db (diff)
Fix macOS build
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 a6c07314f..108c661c0 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -1918,7 +1918,7 @@ void LocalDerivationGoal::runChild()
sandboxProfile += "(import \"sandbox-defaults.sb\")\n";
- if (derivationType.isImpure())
+ if (derivationType.needsNetworkAccess())
sandboxProfile += "(import \"sandbox-network.sb\")\n";
/* Add the output paths we'll use at build-time to the chroot */