disable gdk-pixbuf test build on darwin
This commit is contained in:
parent
a6626bef1a
commit
484b4250ae
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue