mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Remove the drv resolution caching mechanism
It isn't needed anymore now that don't need to eagerly resolve everything like we used to do. So we can safely get rid of it
This commit is contained in:
parent
4bc28c44f2
commit
f483b623e9
2 changed files with 1 additions and 37 deletions
|
@ -138,14 +138,10 @@ struct Derivation : BasicDerivation
|
|||
|
||||
2. Input placeholders are replaced with realized input store paths. */
|
||||
std::optional<BasicDerivation> tryResolve(Store & store);
|
||||
static std::optional<BasicDerivation> tryResolve(Store & store, const StorePath & drvPath);
|
||||
|
||||
Derivation() = default;
|
||||
Derivation(const BasicDerivation & bd) : BasicDerivation(bd) { }
|
||||
Derivation(BasicDerivation && bd) : BasicDerivation(std::move(bd)) { }
|
||||
|
||||
private:
|
||||
std::optional<BasicDerivation> tryResolveUncached(Store & store);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue