Skip to content

Commit

Permalink
Register the outputs for all the built derivations
Browse files Browse the repository at this point in the history
The requirement for having the derivation on-disk doesn't hold anymore as the new db table used doesn't require it

Co-authored-by: John Ericson <git@JohnEricson.me>
  • Loading branch information
2 people authored and thufschmitt committed Dec 9, 2020
1 parent ecba106 commit 4b4fc7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstore/build/derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3406,8 +3406,7 @@ void DerivationGoal::registerOutputs()
drvPathResolved = writeDerivation(worker.store, drv2);
}

if (settings.isExperimentalFeatureEnabled("ca-derivations") &&
(useDerivation || isCaFloating))
if (settings.isExperimentalFeatureEnabled("ca-derivations"))
for (auto& [outputName, newInfo] : infos)
worker.store.registerDrvOutput(Realisation{
.id = DrvOutput{drvPathResolved, outputName},
Expand Down

0 comments on commit 4b4fc7f

Please sign in to comment.