graphviz: Make derivations pure on non-NixOS systems.

This commit is contained in:
Travis Whitaker 2016-11-23 23:28:56 -08:00 committed by Bjørn Forsman
parent 2aacd5b797
commit 528d353b65
2 changed files with 4 additions and 0 deletions

View File

@ -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";

View File

@ -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"
]