about summary refs log tree commit diff
path: root/pkgs/tools/graphics/graphviz
diff options
context:
space:
mode:
authorTravis Whitaker <pi.boy.travis@gmail.com>2016-11-23 23:28:56 -0800
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-11-24 14:45:45 +0100
commit528d353b654e66f310f7544cf7a1bff913cf3c0d (patch)
treebeeea024e17eb61e8cfdf084364bb2096a40bde0 /pkgs/tools/graphics/graphviz
parent2aacd5b79742c1591441d4ab556728de38bc6306 (diff)
graphviz: Make derivations pure on non-NixOS systems.
Diffstat (limited to 'pkgs/tools/graphics/graphviz')
-rw-r--r--pkgs/tools/graphics/graphviz/2.0.nix2
-rw-r--r--pkgs/tools/graphics/graphviz/2.32.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graphviz/2.0.nix b/pkgs/tools/graphics/graphviz/2.0.nix
index 255ec2d536f6c..32cc283bc3c9c 100644
--- a/pkgs/tools/graphics/graphviz/2.0.nix
+++ b/pkgs/tools/graphics/graphviz/2.0.nix
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
       "--with-jpeglibdir=${libjpeg.out}/lib"
       "--with-expatincludedir=${expat.dev}/include"
       "--with-expatlibdir=${expat.out}/lib"
+      "--with-ltdl-include=${libtool}/include"
+      "--with-ltdl-lib=${libtool.lib}/lib"
     ]
     ++ stdenv.lib.optional (xlibsWrapper == null) "--without-x";
 
diff --git a/pkgs/tools/graphics/graphviz/2.32.nix b/pkgs/tools/graphics/graphviz/2.32.nix
index 9c125433c3a6b..a09d60f788c78 100644
--- a/pkgs/tools/graphics/graphviz/2.32.nix
+++ b/pkgs/tools/graphics/graphviz/2.32.nix
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
       "--with-jpeglibdir=${libjpeg.out}/lib"
       "--with-expatincludedir=${expat.dev}/include"
       "--with-expatlibdir=${expat.out}/lib"
+      "--with-ltdl-include=${libtool}/include"
+      "--with-ltdl-lib=${libtool.lib}/lib"
       "--with-cgraph=no"
       "--with-sparse=no"
     ]