summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/science/misc/root/5.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/misc/root/5.nix')
-rw-r--r--pkgs/applications/science/misc/root/5.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/science/misc/root/5.nix b/pkgs/applications/science/misc/root/5.nix
index cab26577bd0b..a800a1938c83 100644
--- a/pkgs/applications/science/misc/root/5.nix
+++ b/pkgs/applications/science/misc/root/5.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, cmake, pcre, pkgconfig, python2
+{ stdenv, fetchurl, fetchpatch, cmake, pcre, pkg-config, python2
, libX11, libXpm, libXft, libXext, libGLU, libGL, zlib, libxml2, lz4, lzma, gsl_1, xxHash
, Cocoa, OpenGL, noSplash ? false }:
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1ln448lszw4d6jmbdphkr2plwxxlhmjkla48vmmq750xc1lxlfrc";
};
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ cmake pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ]
+ nativeBuildInputs = [ cmake pkg-config ];
+ buildInputs = [ pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ]
++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ]
++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ]
;