buildPython*: allow stdenv customization through <function>.override

This commit is contained in:
Yueh-Shun Li
2025-10-23 14:51:18 +08:00
parent 7a4ad371b1
commit c4e3b67afb
3 changed files with 33 additions and 13 deletions
@@ -4,6 +4,8 @@
lib,
config,
python,
# Allow passing in a custom stdenv to buildPython*.override
stdenv,
wrapPython,
unzip,
ensureNewerSourcesForZipFilesHook,
@@ -101,8 +103,6 @@
}@attrs:
let
inherit (python) stdenv;
withDistOutput = lib.elem format [
"pyproject"
"setuptools"