1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00

zathura: fix build on darwin

This commit is contained in:
Mario Rodas 2020-08-14 04:23:00 -05:00 committed by Alyssa Ross
parent fd497a5cd6
commit ca9265c140

View file

@ -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