python313FreeThreading: fix build

The build uses a `t` suffix on the lib prefix.
This commit is contained in:
Martin Weinelt
2024-08-28 01:15:37 +02:00
parent 3745928ba9
commit 0ea153ce17
@@ -135,7 +135,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";