aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-02-27 05:42:13 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-02-27 05:42:13 +0000
commitf0ad29acc1f2c9e82679c3af434a8bf185f36b94 (patch)
treed1c501cdc6e242b7567ac992b7393c62e2f35782 /src/libstore/derivations.hh
parentca0994819d68aee26a2906c37a47ae609ac46c4c (diff)
parent6512be0a99360a1ae459f9efbf77ca5992477ec7 (diff)
Merge remote-tracking branch 'upstream/master' into path-info
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 030c86df0..8279a143f 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -94,6 +94,11 @@ bool derivationIsFixed(DerivationType);
derivation is controlled separately. Never true for non-CA derivations. */
bool derivationIsImpure(DerivationType);
+/* Does the derivation knows its own output paths?
+ * Only true when there's no floating-ca derivation involved in the closure.
+ */
+bool derivationHasKnownOutputPaths(DerivationType);
+
struct BasicDerivation
{
DerivationOutputs outputs; /* keyed on symbolic IDs */