From 4cb8aa1324fae075ea4acf74c9a2e4b316cab2a8 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 2 Aug 2022 18:01:03 +0200 Subject: [PATCH] doc: Add anchor to Recursive attributes in `mkDerivation` So that we can link to it stably. --- doc/stdenv/stdenv.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index 5f7f45dc443..a2a148ec99b 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -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: