From 699e05b52a4158a45e13b7cb3206b4c047081bf8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 11 Nov 2022 00:59:19 +0100 Subject: [PATCH] root5: migrate to gsl (#200455) --- pkgs/applications/science/misc/root/5.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/misc/root/5.nix b/pkgs/applications/science/misc/root/5.nix index 1b4d6bcd0486..14a7d33af786 100644 --- a/pkgs/applications/science/misc/root/5.nix +++ b/pkgs/applications/science/misc/root/5.nix @@ -17,7 +17,7 @@ , libxcrypt , lz4 , xz -, gsl_1 +, gsl , xxHash , Cocoa , OpenGL @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ pcre python2 zlib libxml2 lz4 xz gsl_1 xxHash libxcrypt ] + buildInputs = [ pcre python2 zlib libxml2 lz4 xz gsl xxHash libxcrypt ] ++ lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ] ++ lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ] ; @@ -144,6 +144,7 @@ stdenv.mkDerivation rec { homepage = "https://root.cern.ch/"; description = "A data analysis framework"; platforms = platforms.unix; + broken = !stdenv.isx86_64; maintainers = with maintainers; [ veprbl ]; license = licenses.lgpl21; };