From e97de7f4af813e280e69e38bbf12e9678c06e87c Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Fri, 3 Jul 2026 00:06:04 +0800 Subject: [PATCH] doc/fixed-point-arguments: explicitly mention extendDrvArgs --- doc/build-helpers/fixed-point-arguments.chapter.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/build-helpers/fixed-point-arguments.chapter.md b/doc/build-helpers/fixed-point-arguments.chapter.md index 000dfe097abc..8de6636083e2 100644 --- a/doc/build-helpers/fixed-point-arguments.chapter.md +++ b/doc/build-helpers/fixed-point-arguments.chapter.md @@ -23,7 +23,8 @@ See [recursive-sets](https://nix.dev/manual/nix/stable/language/syntax#recursive ## Define a build helper with `lib.extendMkDerivation` {#sec-build-helper-extendMkDerivation} -Use [`lib.customisation.extendMkDerivation`](#function-library-lib.customisation.extendMkDerivation) to define a build helper with fixed-point support from an existing one. It takes an attribute overlay similar to [`.overrideAttrs`](#sec-pkg-overrideAttrs). +Use [`lib.customisation.extendMkDerivation`](#function-library-lib.customisation.extendMkDerivation) to define a build helper with fixed-point support from an existing one. +Its argument `extendDrvArgs` takes an attribute overlay similar to [`.overrideAttrs`](#sec-pkg-overrideAttrs). Besides overriding, `lib.extendMkDerivation` also supports `excludeDrvArgNames` to optionally exclude some arguments in the input fixed-point arguments from passing down to the base build helper (specified as `constructDrv`).