disable gdk-pixbuf test build on darwin

This commit is contained in:
Jude Taylor 2015-10-19 10:12:01 -07:00
parent a6626bef1a
commit 484b4250ae

View file

@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
# on darwin, tests don't link
preBuild = stdenv.lib.optionalString (stdenv.isDarwin && !doCheck) ''
substituteInPlace Makefile --replace "docs tests" "docs"
'';
configureFlags = "--with-libjasper --with-x11"
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
;