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:
parent
428307d515
commit
794d422363
@ -16,6 +16,9 @@ postgresqlBuildExtension (finalAttrs: {
|
|||||||
hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
|
hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://github.com/citusdata/postgresql-hll/issues/166#issuecomment-3165489050
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=missing-variable-declarations";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "HyperLogLog for PostgreSQL";
|
description = "HyperLogLog for PostgreSQL";
|
||||||
homepage = "https://github.com/citusdata/postgresql-hll";
|
homepage = "https://github.com/citusdata/postgresql-hll";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user