Clarify comment a bit

This commit is contained in:
John Ericson 2020-09-28 18:19:10 +00:00
parent 80e335bb58
commit 00135e13f4

View file

@ -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;