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:10:07 +02:00
parent 6e3f57e4db
commit 6afef1c80a
+1 -8
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" ];