diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-09 19:13:21 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-16 17:57:32 +0000 |
commit | 2741fffa350ec59d29ade24dd93007d535a61bde (patch) | |
tree | 54c488b004fd74ee07e9a869ef50c2c327141a82 /src/libstore/derivations.hh | |
parent | 7fdbb377ba800728a47095008cec11be7d970330 (diff) |
Ensure resolved CA derivations are written
so we can link outputs to deriver and thus properly cache.
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r-- | src/libstore/derivations.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh index adbf8c094..74601134e 100644 --- a/src/libstore/derivations.hh +++ b/src/libstore/derivations.hh @@ -136,6 +136,7 @@ struct Derivation : BasicDerivation std::optional<BasicDerivation> tryResolve(Store & store); Derivation() = default; + Derivation(const BasicDerivation & bd) : BasicDerivation(bd) { } Derivation(BasicDerivation && bd) : BasicDerivation(std::move(bd)) { } }; |