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:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user