aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-03-19 23:37:52 -0400
committerGitHub <noreply@github.com>2020-03-19 23:37:52 -0400
commitd5b3328dd1e3de8910b237d54fb9dbf36629870f (patch)
treef11760d87bb6775fb1f4e7562464e79a2a95abcd /src/libstore/derivations.hh
parentf1cf3ab870343a6894c08e2bb893ea69badfc397 (diff)
Apply suggestions from code review
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index c021bf907..9f8b7a23e 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -100,14 +100,14 @@ typedef std::variant<
specified content hash and hash algorithm. (Currently they must have
exactly one output (`out'), which is specified using the `outputHash'
and `outputHashAlgo' attributes, but the algorithm doesn't assume
- this). We don't want changes to such derivations to propagate upwards
+ this.) We don't want changes to such derivations to propagate upwards
through the dependency graph, changing output paths everywhere.
For instance, if we change the url in a call to the `fetchurl'
- function, we do not want to rebuild everything depending on it (after
- all, (the hash of) the file being downloaded is unchanged). So the
- *output paths* should not change. On the other hand, the *derivation
- paths* should change to reflect the new dependency graph.
+ function, we do not want to rebuild everything depending on it---after
+ all, (the hash of) the file being downloaded is unchanged. So the
+ *output paths* should not change. On the other hand, the *derivation
+ paths* should change to reflect the new dependency graph.
For fixed output derivations, this returns a map from the names of
each output to hashes unique up to the outputs' contents.