mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
doc: Add anchor to Recursive attributes in mkDerivation
So that we can link to it stably.
This commit is contained in:
parent
f73b6e98b1
commit
4cb8aa1324
@ -317,7 +317,7 @@ The script will be usually run from the root of the Nixpkgs repository but you s
|
||||
|
||||
For information about how to run the updates, execute `nix-shell maintainers/scripts/update.nix`.
|
||||
|
||||
### Recursive attributes in `mkDerivation`
|
||||
### Recursive attributes in `mkDerivation` {#mkderivation-recursive-attributes}
|
||||
|
||||
If you pass a function to `mkDerivation`, it will receive as its argument the final arguments, including the overrides when reinvoked via `overrideAttrs`. For example:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user