python3: avoid a small rec near passthruFun

This commit is contained in:
Doron Behar
2026-03-09 15:54:28 +02:00
parent f3f83f3659
commit 825a7f002c

View File

@@ -173,13 +173,19 @@ let
};
in
python;
in
passthruFun rec {
inherit self sourceVersion packageOverrides;
implementation = "cpython";
libPrefix = "python${pythonVersion}${lib.optionalString (!enableGIL) "t"}";
executable = libPrefix;
pythonVersion = with sourceVersion; "${major}.${minor}";
libPrefix = "python${pythonVersion}${lib.optionalString (!enableGIL) "t"}";
in
passthruFun {
inherit
self
sourceVersion
packageOverrides
libPrefix
pythonVersion
;
implementation = "cpython";
executable = libPrefix;
sitePackages = "lib/${libPrefix}/site-packages";
inherit hasDistutilsCxxPatch pythonAttr;
inherit (splices)