diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03T14·02+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03T14·03+0200 |
commit | e07ec8d27e08bf23eccab079b044a6f1b37f3ac9 (patch) | |
tree | 0dacd79c9a2ff40662de47d2e0515b535e684867 /src/libstore/build.cc | |
parent | cec50290bf5537d574fd94557bd3918f2bea8a30 (diff) |
Support allowSubstitutes attribute in structured attribute derivations
Hopefully fixes #3081 (didn't test).
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index be52b66a7def..ab725e8e923c 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1197,7 +1197,7 @@ void DerivationGoal::haveDerivation() /* We are first going to try to create the invalid output paths through substitutes. If that doesn't work, we'll build them. */ - if (settings.useSubstitutes && drv->substitutesAllowed()) + if (settings.useSubstitutes && parsedDrv->substitutesAllowed()) for (auto & i : invalidOutputs) addWaitee(worker.makeSubstitutionGoal(i, buildMode == bmRepair ? Repair : NoRepair)); |