mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
clarification on extra attributes
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
026c24e378
commit
17884f54d1
1 changed files with 5 additions and 1 deletions
|
@ -114,7 +114,11 @@ It outputs an attribute set, and produces a [store derivation](@docroot@/glossar
|
||||||
- Every other attribute is passed as an environment variable to the builder.
|
- Every other attribute is passed as an environment variable to the builder.
|
||||||
Attribute values are translated to environment variables as follows:
|
Attribute values are translated to environment variables as follows:
|
||||||
|
|
||||||
- Strings and numbers are just passed verbatim.
|
- Strings are passed unchanged.
|
||||||
|
|
||||||
|
- Integral numbers are converted to decimal notation.
|
||||||
|
|
||||||
|
- Floating point numbers are converted to simple decimal or scientific notation with a preset precision.
|
||||||
|
|
||||||
- A *path* (e.g., `../foo/sources.tar`) causes the referenced file
|
- A *path* (e.g., `../foo/sources.tar`) causes the referenced file
|
||||||
to be copied to the store; its location in the store is put in
|
to be copied to the store; its location in the store is put in
|
||||||
|
|
Loading…
Reference in a new issue