mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
Fix floating CA tests
We will sometimes try to query the outputs of derivations we can't resolve. That's fine; it just means we don't know what those outputs are yet.
This commit is contained in:
parent
4409530fc9
commit
aad4abcc9c
5 changed files with 14 additions and 7 deletions
|
|
@ -133,7 +133,7 @@ struct Derivation : BasicDerivation
|
|||
1. input drv outputs moved to input sources.
|
||||
|
||||
2. placeholders replaced with realized input store paths. */
|
||||
BasicDerivation resolve(Store & store);
|
||||
std::optional<BasicDerivation> tryResolve(Store & store);
|
||||
|
||||
Derivation() = default;
|
||||
Derivation(BasicDerivation && bd) : BasicDerivation(std::move(bd)) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue