lib.extendMkDerivation: document the typical usage of inheritFunctionArgs

(cherry picked from commit d75b203514)
This commit is contained in:
Yueh-Shun Li
2025-11-06 19:37:08 +08:00
parent edbac72fad
commit 3930eee7b0

View File

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