stdenv.md: Clarify overrideAttrs sentence

I weirded my English.
This commit is contained in:
Robert Hensing 2022-02-09 12:10:37 +01:00
parent 2e0bd52762
commit ca83dd1ae7

View file

@ -319,7 +319,7 @@ For information about how to run the updates, execute `nix-shell maintainers/scr
### Recursive attributes in `mkDerivation`
If you pass a function to `mkDerivation`, it will receive as its argument the final arguments, considering use of `overrideAttrs`. For example:
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:
```nix
mkDerivation (finalAttrs: {