mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
6e3f57e4db
commit
6afef1c80a
1 changed files with 1 additions and 8 deletions
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue