mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
pass readline to gnuplot
svn path=/nixpkgs/trunk/; revision=16455
This commit is contained in:
parent
fc6b794f33
commit
8393b93136
@ -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 []);
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user