postgresqlPackages.pg_hll: fix build on pg18

PostgreSQL 18 adds the -Wmissing-variable-declarations flag by default,
which makes this build fail. Ignoring this warning allows the build to
succeed.
This commit is contained in:
Diogo Correia 2025-08-07 21:35:23 +01:00
parent 428307d515
commit 794d422363
No known key found for this signature in database
GPG Key ID: 12B4F3AC9C065D08

View File

@ -16,6 +16,9 @@ postgresqlBuildExtension (finalAttrs: {
hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
};
# https://github.com/citusdata/postgresql-hll/issues/166#issuecomment-3165489050
NIX_CFLAGS_COMPILE = "-Wno-error=missing-variable-declarations";
meta = {
description = "HyperLogLog for PostgreSQL";
homepage = "https://github.com/citusdata/postgresql-hll";