diff options
author | regnat <rg@regnat.ovh> | 2021-02-16 08:16:12 +0100 |
---|---|---|
committer | Théophane Hufschmitt <regnat@users.noreply.github.com> | 2021-02-19 15:48:31 +0100 |
commit | f483b623e98a0feb2568e5be076b533c5838ba32 (patch) | |
tree | d099a0b1596cc3b8db11e0ba7c7d60815228ba07 /src/libstore/derivations.hh | |
parent | 4bc28c44f258f4f8c8a3935d1acf746f6abe3d8f (diff) |
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
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r-- | src/libstore/derivations.hh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh index 3d8f19aef..4e5985fab 100644 --- a/src/libstore/derivations.hh +++ b/src/libstore/derivations.hh @@ -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); }; |