Merge pull request #184848 from jtojnar/mkder-rec-anchor

doc: Add anchor to Recursive attributes in `mkDerivation`
This commit is contained in:
Valentin Gagarin 2022-08-03 11:18:36 +02:00 committed by GitHub
commit 163e81aac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: