3
0
Fork 0
forked from mirrors/nixpkgs

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