Skip to content

Commit dbe8a16

Browse files
python3Packages.hawkmoth: fix broken state with llvm 21 by using 20 (#452196)
2 parents c1497e4 + 786c478 commit dbe8a16

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

pkgs/development/python-modules/hawkmoth/default.nix

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
buildPythonPackage,
44
fetchFromGitHub,
55
hatchling,
6+
llvmPackages_20,
67
libclang,
78
sphinx,
8-
clang,
99
pytestCheckHook,
1010
strictyaml,
1111
}:
12+
let
13+
libclang_20 = libclang.override {
14+
llvmPackages = llvmPackages_20;
15+
};
1216

17+
in
1318
buildPythonPackage rec {
1419
pname = "hawkmoth";
1520
version = "0.21.0";
@@ -25,13 +30,13 @@ buildPythonPackage rec {
2530
build-system = [ hatchling ];
2631

2732
dependencies = [
28-
libclang
33+
libclang_20
2934
sphinx
3035
];
31-
propagatedBuildInputs = [ clang ];
36+
propagatedBuildInputs = [ llvmPackages_20.clang ];
3237

3338
nativeCheckInputs = [
34-
clang
39+
llvmPackages_20.clang
3540
pytestCheckHook
3641
strictyaml
3742
];

0 commit comments

Comments
 (0)