File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
pkgs/applications/science/misc/root Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 5656
5757stdenv . mkDerivation rec {
5858 pname = "root" ;
59- version = "6.32.00 " ;
59+ version = "6.32.02 " ;
6060
6161 passthru = {
6262 tests = import ./tests { inherit callPackage ; } ;
6363 } ;
6464
6565 src = fetchurl {
6666 url = "https://root.cern.ch/download/root_v${ version } .source.tar.gz" ;
67- hash = "sha256-EvIDaBpZBBxHTOlSN2Hm8OiGGzvueN9feZqNtVGJ5dI =" ;
67+ hash = "sha256-PQ92vwWFfhgHzPssngFPUlvLYl+UojcLRV9LFklhYC0 =" ;
6868 } ;
6969
7070 clad_src = fetchgit {
7171 url = "https://github.com/vgvassilev/clad" ;
72- rev = "refs/tags/v1.5" ; # Make sure that this is the same tag as in the ROOT build files!
72+ # Make sure that this is the same tag as in the ROOT build files!
73+ # https://github.com/root-project/root/blob/master/interpreter/cling/tools/plugins/clad/CMakeLists.txt#L76
74+ rev = "refs/tags/v1.5" ;
7375 hash = "sha256-s0DbHfLthv51ZICnTd30O4qG/DyZPk5tADeu3bBRoOw=" ;
7476 } ;
7577
@@ -166,7 +168,6 @@ stdenv.mkDerivation rec {
166168 "-Dmysql=OFF"
167169 "-Dpgsql=OFF"
168170 "-Dsqlite=OFF"
169- "-Dtmva-pymva=OFF"
170171 "-Dvdt=OFF"
171172 ]
172173 ++ lib . optional ( stdenv . cc . libc != null ) "-DC_INCLUDE_DIRS=${ lib . getDev stdenv . cc . libc } /include"
@@ -222,6 +223,9 @@ stdenv.mkDerivation rec {
222223 ] } "
223224 '' ;
224225
226+ # error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer
227+ CXXFLAGS = lib . optional ( stdenv . hostPlatform . system == "x86_64-darwin" ) "-faligned-allocation" ;
228+
225229 # To use the debug information on the fly (without installation)
226230 # add the outPath of root.debug into NIX_DEBUG_INFO_DIRS (in PATH-like format)
227231 # and make sure that gdb from Nixpkgs can be found in PATH.
You can’t perform that action at this time.
0 commit comments