diff --git a/pkgs/applications/search/recoll/default.nix b/pkgs/applications/search/recoll/default.nix index 0560793132d17..902571dd33f1c 100644 --- a/pkgs/applications/search/recoll/default.nix +++ b/pkgs/applications/search/recoll/default.nix @@ -97,7 +97,10 @@ mkDerivation rec { (lib.withFeature stdenv.isLinux "inotify") ]; - env.NIX_CFLAGS_COMPILE = toString [ "-DNIXPKGS" ]; + env.NIX_CFLAGS_COMPILE = toString [ + "-DNIXPKGS" + "-fpermissive" # libxml2-2.12 changed const qualifiers + ]; patches = [ # fix "No/bad main configuration file" error