about summary refs log tree commit diff
path: root/pkgs/applications/search
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-01-11 17:03:06 +0100
committerVladimír Čunát <v@cunat.cz>2024-01-11 17:03:06 +0100
commit8b2d354abeab5db9a2509fd4f8fb08b798303247 (patch)
treeef45932ed8f7332ac758a2d6ff7da96d6d48a6e4 /pkgs/applications/search
parent8778bc79f2fda2fcbd95aeffb690ec0006ac0bae (diff)
recoll: fixup build after libxml2 update
Diffstat (limited to 'pkgs/applications/search')
-rw-r--r--pkgs/applications/search/recoll/default.nix5
1 files changed, 4 insertions, 1 deletions
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