diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-11-16 12:54:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 12:54:20 +0100 |
commit | 6463eaca14ea813f39a3b3e4c5a15fa32fc30232 (patch) | |
tree | eda8501ca6ca1adffb702a78ca265339490665c0 /src/libexpr/primops.cc | |
parent | 6d0aa8d17544e391872eed76f4c627e4c1f9c05b (diff) | |
parent | f4c869977c391b31eb4f20486f7da03b026e2401 (diff) |
Merge pull request #5472 from NixOS/async-realisation-substitution
async realisation substitution
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 1d59ab9cf..5bd4e5545 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -988,8 +988,9 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * * } if (i->name == state.sContentAddressed) { - settings.requireExperimentalFeature(Xp::CaDerivations); contentAddressed = state.forceBool(*i->value, pos); + if (contentAddressed) + settings.requireExperimentalFeature(Xp::CaDerivations); } /* The `args' attribute is special: it supplies the |