pgcopydb: propagate postgresql's buildInputs

Some of the build inputs required here are required because this links
against internals of PostgreSQL. The latter might be configured with
different dependencies on different platforms and such, so it's easier
to just depend on postgresql's build inputs.

This fixes the build with PostgreSQL 18, which added libnuma as a new
dependency.
This commit is contained in:
Wolfgang Walther 2026-05-25 16:09:58 +02:00
commit 6afef1c80a
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1

View file

@ -31,18 +31,11 @@ clangStdenv.mkDerivation (finalAttrs: {
postgresql.pg_config
];
buildInputs = [
buildInputs = postgresql.buildInputs ++ [
boehmgc
libkrb5
openssl
postgresql
readline
sqlite
zlib
python3Packages.sphinxHook
]
++ lib.optionals clangStdenv.hostPlatform.isLinux [
pam
];
hardeningDisable = [ "format" ];