From bfa489d718c7dccb8e2e364560f0be951fdf967d Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 12 Jan 2026 20:44:52 +0200 Subject: [PATCH] doc/python: explain better passthru note Co-authored-by: Matt Sturgeon --- doc/languages-frameworks/python.section.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 990b12d3a9db..28826768cd0b 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -244,7 +244,8 @@ See the [general documentation on fixed-point arguments](#chap-build-helpers-fin ::: {.note} Some `buildPythonPackage`/`buildPythonApplication` arguments are passed down indirectly to `stdenv.mkDerivation` via `passthru`. -Therefore the final states of these attributes can be accessed via `finalAttrs.passthru.${name}`, and they can be overridden via [`.overrideAttrs`](#sec-pkg-overrideAttrs) under the `passthru` attribute. +Therefore the final state of these attributes can be accessed via `finalAttrs.passthru.${name}`. +[`.overrideAttrs`](#sec-pkg-overrideAttrs) can override them using the `passthru = prevAttrs.passthru // { foo = "bar"; }` pattern. Such arguments include: - `disabled`