File tree 1 file changed +8
-0
lines changed
doc/manual/src/expressions
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,14 @@ Derivations can declare some infrequently used optional attributes.
207
207
the hash in either hexadecimal or base-32 notation. (See the
208
208
[`nix-hash` command](../command-ref/nix-hash.md) for information
209
209
about converting to and from base-32 notation.)
210
+
211
+ - `__contentAddressed`
212
+ If this **experimental** attribute is set to true, then the derivation
213
+ outputs will be stored in a content-addressed location rather than the
214
+ traditional input-addressed one.
215
+ This only has an effect if the `ca-derivation` experimental feature is enabled.
216
+
217
+ Setting this attribute also requires setting `outputHashMode` and `outputHashAlgo` like for *fixed-output derivations* (see above).
210
218
211
219
- `passAsFile`
212
220
A list of names of attributes that should be passed via files rather
You can’t perform that action at this time.
0 commit comments