disable gdk-pixbuf test build on darwin
commit484b4250ae3aa2a51e21123ef1b5f9fc3f673f0d
authorJude Taylor <me@jude.bio>
dateMon 19 Oct 2015, 10:12 (11 years ago)
parenta6626be
pkgs/development/libraries/gdk-pixbuf/default.nix+5
@@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
2222
2323 propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
2424
25+ # on darwin, tests don't link
26+ preBuild = stdenv.lib.optionalString (stdenv.isDarwin && !doCheck) ''
27+ substituteInPlace Makefile --replace "docs tests" "docs"
28+ '';
29+
2530 configureFlags = "--with-libjasper --with-x11"
2631 + stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
2732 ;