diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-31 15:59:14 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-31 15:59:14 +0200 |
commit | d7fc33c8426768040b322a060b5a50433b3a78e6 (patch) | |
tree | 7734349b56f893d9299fcf5b594683f90457ae2f /src/libstore | |
parent | 162beb25955adcedeed76e97510feb577d4f86db (diff) |
Fix macOS build
Diffstat (limited to 'src/libstore')
-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 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 */ |