diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-04 13:30:11 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-09-04 13:30:11 +0200 |
commit | e302ba0e65ba875b7bafd6265285e5f06384b617 (patch) | |
tree | fe52d8a58f8f9bb3f57b8aee5b06aee52937c714 /src/libstore/build.cc | |
parent | 2dbd69dbf4538d5b7947d192979ff4feab322c2e (diff) | |
parent | b774845af7a645b44bff69cf9f655c47fe4b9fb2 (diff) |
Merge remote-tracking branch 'origin/master' into flakes
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 19cb9addc..38762ad0d 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)); |