pass readline to gnuplot

svn path=/nixpkgs/trunk/; revision=16455
This commit is contained in:
Rob Vermaas 2009-07-24 14:18:25 +00:00
parent fc6b794f33
commit 8393b93136
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
, libXpm ? null
, libXaw ? null
, x11Support ? false
, readline
}:
assert x11Support -> ((libX11 != null) &&
@ -24,6 +25,6 @@ stdenv.mkDerivation {
configureFlags = if x11Support then ["--with-x"] else ["--without-x"];
buildInputs = [zlib gd texinfo] ++
buildInputs = [zlib gd texinfo readline] ++
(if x11Support then [libX11 libXt libXpm libXaw] else []);
}

View File

@ -764,11 +764,11 @@ let
};
gnuplot = import ../tools/graphics/gnuplot {
inherit fetchurl stdenv zlib gd texinfo;
inherit fetchurl stdenv zlib gd texinfo readline;
};
gnuplotX = import ../tools/graphics/gnuplot {
inherit fetchurl stdenv zlib gd texinfo;
inherit fetchurl stdenv zlib gd texinfo readline;
inherit (xlibs) libX11 libXt libXaw libXpm;
x11Support = true;
};