mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 05:59:17 +03:00
Merge pull request #230831 from wegank/root-python
python311Packages.hepmc3: fix build
This commit is contained in:
commit
32c81c727a
1 changed files with 6 additions and 0 deletions
|
@ -122,6 +122,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./sw_vers.patch
|
./sw_vers.patch
|
||||||
|
] ++ lib.optionals (python.pkgs.pythonAtLeast "3.11") [
|
||||||
|
# Fix build against Python 3.11
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/root-project/root/commit/484deb056dacf768aba4954073b41105c431bffc.patch";
|
||||||
|
hash = "sha256-4qur2e3SxMIPgOg4IjlvuULR2BObuP7xdvs+LmNT2/s=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fix build against vanilla LLVM 9
|
# Fix build against vanilla LLVM 9
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue