Merge pull request #185706 from wegank/libdazzle-darwin
libdazzle: fix build on darwin
This commit is contained in:
commit
d070f3d4e0
1 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue