Unverified Commit 794d4223 authored by Diogo Correia's avatar Diogo Correia
Browse files

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.
parent 428307d5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";