Co-authored-by: eldritch horrors <pennae@lix.systems> Co-authored-by: Qyriad <qyriad@qyriad.me> Change-Id: I4cf95683da54efe830514f3a6795057cadd223c6
1012 B
1012 B
name, args, renameInGlobalScope
| name | args | renameInGlobalScope | |
|---|---|---|---|
| derivationStrict |
|
false |
Constructs a store derivation from the attribute set args
(c.f. derivation. Unlike derivation the produced store derivation is placed
in the store immediately when this builtin is called, while derivation may defer placing store
derivations in the store until it is proven that they are used.
It then returns a new attrset with only the following attributes:
drvPathcontaining the path of the store derivation;- For each output of the derivation (
out,dev, etc): an attribute named after that output containing the output path
Note
In contrast to
builtins.derivation, this computes the derivation set in a fully strict manner, i.e. the values of the attributes directly computed, whereas usingbuiltins.derivationwill produce an attrset whose values will be evaluated when they are used at a later point.