mirror of
https://github.com/NixOS/nix.git
synced 2025-12-06 09:01:01 +01:00
Give Derivation::tryResolve an evalStore argument
This is needed for building CA deriations with a src store / dest store split. In particular it is needed for Hydra. https://github.com/NixOS/hydra/issues/838 currently puts realizations, and thus build outputs, in the local store, but it should not.
This commit is contained in:
parent
c3827ff634
commit
96dd757b0c
3 changed files with 4 additions and 4 deletions
|
|
@ -558,7 +558,7 @@ void DerivationGoal::inputsRealised()
|
|||
inputDrvOutputs statefully, sometimes it gets out of sync with
|
||||
the real source of truth (store). So we query the store
|
||||
directly if there's a problem. */
|
||||
attempt = fullDrv.tryResolve(worker.store);
|
||||
attempt = fullDrv.tryResolve(worker.store, &worker.evalStore);
|
||||
}
|
||||
assert(attempt);
|
||||
Derivation drvResolved { std::move(*attempt) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue