about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-08-14 04:23:00 -0500
committerAlyssa Ross <hi@alyssa.is>2020-08-16 10:14:46 +0000
commitca9265c14086213d9e9d42aee63afded611fdafc (patch)
tree6bd5c544afb7828f98798be8af7a1ac2c6804940 /pkgs
parentfd497a5cd69cd2d4e83ce9d9fee15e5dac63536d (diff)
zathura: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/zathura/core/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix
index 44f200174d9ba..58b1a81c90fc3 100644
--- a/pkgs/applications/misc/zathura/core/default.nix
+++ b/pkgs/applications/misc/zathura/core/default.nix
@@ -24,18 +24,17 @@ stdenv.mkDerivation rec {
   mesonFlags = [
     "-Dsqlite=enabled"
     "-Dmagic=enabled"
-    # "-Dseccomp=enabled"
     "-Dmanpages=enabled"
     "-Dconvert-icon=enabled"
     "-Dsynctex=enabled"
     # Make sure tests are enabled for doCheck
     "-Dtests=enabled"
-  ];
+  ] ++ optional (!stdenv.isLinux) "-Dseccomp=disabled";
 
   nativeBuildInputs = [
     meson ninja pkgconfig desktop-file-utils python3.pkgs.sphinx
-    gettext wrapGAppsHook libxml2 check
-  ] ++ optional stdenv.isLinux appstream-glib;
+    gettext wrapGAppsHook libxml2 check appstream-glib
+  ];
 
   buildInputs = [
     gtk girara libintl sqlite glib file librsvg