disable gdk-pixbuf test build on darwin
This commit is contained in:
parent
a6626bef1a
commit
484b4250ae
@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
|
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"
|
configureFlags = "--with-libjasper --with-x11"
|
||||||
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
|
+ stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user