swift: fixup build after upgrade to python-3.12

https://hydra.nixos.org/build/264423982/nixlog/4/tail
I tested only building on x86_64-linux.
This commit is contained in:
Vladimír Čunát 2024-07-06 09:00:37 +02:00
parent 8145bb89f7
commit 25c945df28
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -10,7 +10,7 @@
, pkg-config
, clang
, bintools
, python3
, python3Packages
, git
, fetchpatch
, makeWrapper
@ -42,6 +42,7 @@
}:
let
python3 = python3Packages.python.withPackages (p: [ p.setuptools ]); # python 3.12 compat.
inherit (stdenv) hostPlatform targetPlatform;