recoll: fixup build after libxml2 update

This commit is contained in:
Vladimír Čunát 2024-01-11 17:03:06 +01:00
parent 8778bc79f2
commit 8b2d354abe
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

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