python313FreeThreading: fix build

The build uses a `t` suffix on the lib prefix.

(cherry picked from commit 0ea153ce17)
This commit is contained in:
Martin Weinelt
2024-08-27 21:33:20 +02:00
committed by github-actions[bot]
parent f4e9c71541
commit 54c7352e1f

View File

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