You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that DerivationBuildingGoal doesn't know what outputs are wanted any more. This was intentional --- when we are building rather than substituting, we know we are going to produce all outputs. However this assertPathValidity was happening before the build, and was intended to check that the outputs we want to repair are all there.
Steps To Reproduce
Substitute some but not all outputs of a derivation.
Repair that derivation
Get an error message about missing unexpected invalid outputs, not because the outputs we have are broken, but because the outputs that we don't have, and don't care about not having.
Expected behavior
It should be fine to only repair some outputs, just like before
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Since
DerivationBuildingGoal
was split out (3b617e4), checking is broken because of anDerivationBuildingGoal::assertPathValidity
call atnix/src/libstore/unix/build/derivation-builder.cc
Line 2854 in 3b617e4
The issue is that
DerivationBuildingGoal
doesn't know what outputs are wanted any more. This was intentional --- when we are building rather than substituting, we know we are going to produce all outputs. However thisassertPathValidity
was happening before the build, and was intended to check that the outputs we want to repair are all there.Steps To Reproduce
Expected behavior
It should be fine to only repair some outputs, just like before
Metadata
Bisected to 3b617e4
Additional context
I would like to not solve this issue by reintroducing
wantedOutputs
toDerivationBuildingGoal
. Can we instead solve this problem a different way?Possible solutions:
DerivationGoal
after we return do the check. Then we're back to knowing what output we want.Checklist
Add 👍 to issues you find important.
CC @xokdvium
The text was updated successfully, but these errors were encountered: