diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-09 11:28:25 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-09 11:28:25 +0300 |
commit | d63d6cb660f13c1551adce0d0cec6cb15309b3db (patch) | |
tree | 3478b3932558bf65bcc9673cdbf5b42d6264f476 /pkgs/applications/science/misc/root/default.nix | |
parent | 70260851695cf34b28d9598281ad40e29e5c5f73 (diff) |
python311Packages.hepmc3: fix build
Diffstat (limited to 'pkgs/applications/science/misc/root/default.nix')
-rw-r--r-- | pkgs/applications/science/misc/root/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/root/default.nix b/pkgs/applications/science/misc/root/default.nix index 037b8dfa09c75..1f8a2d3b8d54e 100644 --- a/pkgs/applications/science/misc/root/default.nix +++ b/pkgs/applications/science/misc/root/default.nix @@ -122,6 +122,12 @@ stdenv.mkDerivation rec { patches = [ ./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 |