about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-08-09 02:18:58 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-08-09 02:18:58 +0200
commita90b50917c084c067ac64b22762d2ec55f8be193 (patch)
tree8872ec55c0a4ead378ece6272bd17c4a5b33211f /pkgs/development/libraries
parent9cfb5c053b8cfecd56f41d07a1fc141cdf0302ee (diff)
libdazzle: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libdazzle/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libdazzle/default.nix b/pkgs/development/libraries/libdazzle/default.nix
index 7f4c53071d0ca..22ef87e43d04c 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 \