mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
b502b6682b
In `args@{ a ? 1 }: /* ... */` the value `a` won't be a part of `args` unless it's specified when calling the function, the default value will be ignored in this case. My personal point of view is that this behavior is a matter of taste, at least I was pretty sure that unmatched arguments will be a part of `args@` while debugging some Nix code last week. I decided to add a warning to the docs which hopefully reduces the confusion of further Nix developers who thought the same about `args@`. |
||
---|---|---|
.. | ||
advanced-attributes.xml | ||
arguments-variables.xml | ||
build-script.xml | ||
builder-syntax.xml | ||
builtins.xml | ||
derivations.xml | ||
expression-language.xml | ||
expression-syntax.xml | ||
generic-builder.xml | ||
language-constructs.xml | ||
language-operators.xml | ||
language-values.xml | ||
simple-building-testing.xml | ||
simple-expression.xml | ||
writing-nix-expressions.xml |