aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-19 14:48:53 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-19 15:00:04 -0400
commit7103c6da705c8a18fef9e8f8d404e8d0ab5082ff (patch)
tree53a6fb861243b174292a5d0177fab364461d8de9 /src/libstore/derivations.hh
parentaba8a8a83a89d577769a39a69e9b90e3ed0d4f82 (diff)
Remove references from fixed output derivation ab syntax
In other words, use a plain `ContentAddress` not `ContentAddressWithReferences` for `DerivationOutput::CAFixed`. Supporting fixed output derivations with (fixed) references would be a cool feature, but it is out of scope at this moment.
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 666dbff41..1e2143f31 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -36,9 +36,11 @@ struct DerivationOutputInputAddressed
struct DerivationOutputCAFixed
{
/**
- * hash and refs used for expected hash computation
+ * Method and hash used for expected hash computation.
+ *
+ * References are not allowed by fiat.
*/
- ContentAddressWithReferences ca; /* hash and refs used for validating output */
+ ContentAddress ca;
/**
* Return the \ref StorePath "store path" corresponding to this output