From a90b50917c084c067ac64b22762d2ec55f8be193 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 Aug 2022 02:18:58 +0200 Subject: [PATCH] libdazzle: fix build on darwin --- pkgs/development/libraries/libdazzle/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libdazzle/default.nix b/pkgs/development/libraries/libdazzle/default.nix index 7f4c53071d0c..22ef87e43d04 100644 --- a/pkgs/development/libraries/libdazzle/default.nix +++ b/pkgs/development/libraries/libdazzle/default.nix @@ -40,8 +40,9 @@ stdenv.mkDerivation rec { docbook_xsl docbook_xml_dtd_43 dbus - xvfb-run glib + ] ++ lib.optionals stdenv.isLinux [ + xvfb-run ]; buildInputs = [ @@ -53,7 +54,7 @@ stdenv.mkDerivation rec { "-Denable_gtk_doc=true" ]; - doCheck = true; + doCheck = stdenv.isLinux; checkPhase = '' xvfb-run -s '-screen 0 800x600x24' dbus-run-session \