diff options
author | regnat <rg@regnat.ovh> | 2021-04-23 10:28:26 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-04-23 10:28:26 +0200 |
commit | 2207018df574e4b15e552a9ce174f13cc024b6a5 (patch) | |
tree | 0a8c0ff5aa5f3438b6cca90f93ca91e499415913 /doc/manual | |
parent | d9864be4b757468d33bc49edddce5e4f04ef4b90 (diff) |
(briefly) document how to build ca derivations
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/expressions/advanced-attributes.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/src/expressions/advanced-attributes.md b/doc/manual/src/expressions/advanced-attributes.md index 31ebadda1..1b3c69da2 100644 --- a/doc/manual/src/expressions/advanced-attributes.md +++ b/doc/manual/src/expressions/advanced-attributes.md @@ -207,6 +207,14 @@ Derivations can declare some infrequently used optional attributes. the hash in either hexadecimal or base-32 notation. (See the [`nix-hash` command](../command-ref/nix-hash.md) for information about converting to and from base-32 notation.) + + - `__contentAddressed` + If this **experimental** attribute is set to true, then the derivation + outputs will be stored in a content-addressed location rather than the + traditional input-addressed one. + This only has an effect if the `ca-derivation` experimental feature is enabled. + + Setting this attribute also requires setting `outputHashMode` and `outputHashAlgo` like for *fixed-output derivations* (see above). - `passAsFile` A list of names of attributes that should be passed via files rather |