aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/derivations.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index b62e40786..98e59b64e 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -135,7 +135,10 @@ struct DerivationType : _DerivationTypeRaw {
separately. Never true for non-CA derivations. */
bool needsNetworkAccess() const;
- /* FIXME */
+ /* Whether the derivation is expected to produce the same result
+ every time, and therefore it only needs to be built once. This
+ is only false for derivations that have the attribute '__impure
+ = true'. */
bool isPure() const;
/* Does the derivation knows its own output paths?