about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-07-06 09:00:37 +0200
committerVladimír Čunát <v@cunat.cz>2024-07-06 09:00:37 +0200
commit25c945df289dbb064a9afc96ac1b665dd08d6b7a (patch)
tree86f20b7b91bcb92394f1d40c3b204efc525cc17b
parent8145bb89f7848432d6c7b6bfc17c03a284f2eae6 (diff)
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.
-rw-r--r--pkgs/development/compilers/swift/compiler/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/swift/compiler/default.nix b/pkgs/development/compilers/swift/compiler/default.nix
index f788bcef370a3..4e164f25e9eef 100644
--- a/pkgs/development/compilers/swift/compiler/default.nix
+++ b/pkgs/development/compilers/swift/compiler/default.nix
@@ -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;