aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2023-05-19 22:47:40 +0200
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2023-05-19 22:47:40 +0200
commit36b7e30c1184035e72a7f24dc4656099ac6e208e (patch)
tree0328606599219c91dba9cddb81be03e9b42bd0bf /src
parent3305fd0cb199d1c5e9e53971769960e629493211 (diff)
Make mounting ssl cert file optional
Diffstat (limited to 'src')
-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 36c89bee9..b50ff1f86 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -1777,7 +1777,7 @@ void LocalDerivationGoal::runChild()
if (pathExists(path))
ss.push_back(path);
- dirsInChroot.emplace(settings.caFile, "/etc/ssl/certs/ca-certificates.crt");
+ dirsInChroot.try_emplace("/etc/ssl/certs/ca-certificates.crt", settings.caFile, true);
}
for (auto & i : ss) dirsInChroot.emplace(i, i);