Document isPure()

This commit is contained in:
Eelco Dolstra 2022-03-31 16:01:50 +02:00
parent d7fc33c842
commit 4e043c2f32

View file

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