diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-28 18:19:10 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-28 18:19:10 +0000 |
commit | 00135e13f49e9b20e3ef03f2516e7cc277c40ca9 (patch) | |
tree | 1fe03d5a1daad670a19321ae992409c038225ffc /src | |
parent | 80e335bb5837d7bfbf1f14d4f3d39525013c4f4d (diff) |
Clarify comment a bit
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/derivations.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh index 74601134e..d48266774 100644 --- a/src/libstore/derivations.hh +++ b/src/libstore/derivations.hh @@ -128,11 +128,12 @@ struct Derivation : BasicDerivation std::string unparse(const Store & store, bool maskOutputs, std::map<std::string, StringSet> * actualInputs = nullptr) const; - /* Return the underlying basic derivation but with + /* Return the underlying basic derivation but with these changes: - 1. input drv outputs moved to input sources. + 1. Input drvs are emptied, but the outputs of them that were used are + added directly to input sources. - 2. placeholders replaced with realized input store paths. */ + 2. Input placeholders are replaced with realized input store paths. */ std::optional<BasicDerivation> tryResolve(Store & store); Derivation() = default; |