From 3930eee7b0ee22cf38e400c0d664dce0bc70ecf0 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Thu, 6 Nov 2025 19:37:08 +0800 Subject: [PATCH] lib.extendMkDerivation: document the typical usage of inheritFunctionArgs (cherry picked from commit d75b2035146827347f53918004d95fcba65be7a0) --- lib/customisation.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/customisation.nix b/lib/customisation.nix index 18d94f2b8cf5..aaf0cf20fc9b 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -764,6 +764,7 @@ rec { `inheritFunctionArgs` (default to `true`) : Whether to inherit `__functionArgs` from the base build helper. + Set `inheritFunctionArgs` to `false` when `extendDrvArgs`'s `args` set pattern does not contain an ellipsis. `transformDrv` (default to `lib.id`) : Function to apply to the result derivation.