Merge pull request #185706 from wegank/libdazzle-darwin

libdazzle: fix build on darwin
This commit is contained in:
Jan Tojnar 2022-08-09 15:33:24 +02:00 committed by GitHub
commit d070f3d4e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,8 +40,9 @@ stdenv.mkDerivation rec {
docbook_xsl docbook_xsl
docbook_xml_dtd_43 docbook_xml_dtd_43
dbus dbus
xvfb-run
glib glib
] ++ lib.optionals stdenv.isLinux [
xvfb-run
]; ];
buildInputs = [ buildInputs = [
@ -53,7 +54,7 @@ stdenv.mkDerivation rec {
"-Denable_gtk_doc=true" "-Denable_gtk_doc=true"
]; ];
doCheck = true; doCheck = stdenv.isLinux;
checkPhase = '' checkPhase = ''
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ xvfb-run -s '-screen 0 800x600x24' dbus-run-session \