gnuplot: Use default compiler on Darwin

This commit is contained in:
Eelco Dolstra
2014-08-09 19:52:33 +02:00
parent 8ede29197f
commit 9f08904c8d
2 changed files with 3 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
let
withX = libX11 != null && !aquaterm;
withX = libX11 != null && !aquaterm && !stdenv.isDarwin;
in
stdenv.mkDerivation rec {
name = "gnuplot-4.6.5";
@@ -29,8 +29,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ zlib gd texinfo4 readline
pango cairo pkgconfig makeWrapper ]
[ zlib gd texinfo4 readline pango cairo pkgconfig makeWrapper ]
++ lib.optional withTeXLive texLive
++ lib.optional withLua lua
++ lib.optionals withX [ libX11 libXpm libXt libXaw ]