nixpkgs/pkgs/servers/sql/postgresql
Matthew Bauer 2a13929e1f
postgresqlPackages.timescaledb_toolkit: fix on macos (#332353)
* postgresqlPackages.timescaledb_toolkit: fix on macos

It looks like the macOS linker doesn’t like that some of the symbols
are undefined in the extension. They will be provided by the postgres
binary, but macOS linker checks that all symbols are defined.
Apparently, Linux allows these symbols to be undefined.

The -undefined flag changes this behavior:

> Specifies how undefined symbols are to be treated. Options are:
> error, warning, suppress, or dynamic_lookup. The default is error.

So, setting to dynamic_lookup makes the most sense here, and makes
this package work on macOS. I tried to see if pgvecto-rs, which also
uses buildPgrxExtension, would build. Unfortunately, it gave other
errors.

More information on the bug here: https://github.com/supabase/nix-postgres/issues/10

* Remove stdenv
2024-08-06 10:17:48 -05:00
..
ext postgresqlPackages.timescaledb_toolkit: fix on macos (#332353) 2024-08-06 10:17:48 -05:00
patches postgresql: rename patches 2024-04-04 08:41:18 +02:00
12.nix postgresql_12: 12.18 -> 12.19 2024-05-11 18:09:17 +02:00
13.nix postgresql_13: 13.14 -> 13.15 2024-05-11 18:09:18 +02:00
14.nix postgresql_14: 14.11 -> 14.12, fix CVE-2024-4317 2024-05-11 18:09:18 +02:00
15.nix postgresql_15: 15.6 -> 15.7, fix CVE-2024-4317 2024-05-11 18:09:18 +02:00
16.nix postgresql_16: 16.2 -> 16.3, fix CVE-2024-4317 2024-05-11 18:09:19 +02:00
default.nix postgresql: add readme with eol-policy 2024-06-14 09:38:23 +02:00
generic.nix postgresql_*: upstream patches to support libxml2-2.13 2024-07-21 08:43:52 +02:00