Merge pull request #136369 from veprbl/pr/root5_gcc10_fix
root5: fix for gcc10
This commit is contained in:
commit
1065a41d8d
@ -47,6 +47,17 @@ stdenv.mkDerivation rec {
|
||||
# disable dictionary generation for stuff that includes libc headers
|
||||
# our glibc requires a modern compiler
|
||||
./disable_libc_dicts_root5.patch
|
||||
|
||||
(fetchpatch {
|
||||
name = "root5-gcc9-fix.patch";
|
||||
url = "https://github.com/root-project/root/commit/348f30a6a3b5905ef734a7bd318bc0ee8bca6dc9.diff";
|
||||
sha256 = "0dvrsrkpacyn5z87374swpy7aciv9a8s6m61b4iqd7a956r67rn3";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "root5-gcc10-fix.patch";
|
||||
url = "https://github.com/root-project/root/commit/3c243b18768d3c3501faf3ca4e4acfc071021350.diff";
|
||||
sha256 = "1hjmgnp4zx6im8ps78673x0rrhmfyy1nffhgxjlfl1r2z8cq210z";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -31289,7 +31289,7 @@ with pkgs;
|
||||
|
||||
root5 = lowPrio (callPackage ../applications/science/misc/root/5.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else gcc8Stdenv;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
|
||||
});
|
||||
|
||||
rink = callPackage ../applications/science/misc/rink {
|
||||
|
Loading…
Reference in New Issue
Block a user