From 6afef1c80a05389c7e96bc78c4341fd70fe18179 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 25 May 2026 16:09:58 +0200 Subject: [PATCH] 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. --- pkgs/by-name/pg/pgcopydb/package.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/by-name/pg/pgcopydb/package.nix b/pkgs/by-name/pg/pgcopydb/package.nix index d55a72b2a7d3..f9ba308e0b30 100644 --- a/pkgs/by-name/pg/pgcopydb/package.nix +++ b/pkgs/by-name/pg/pgcopydb/package.nix @@ -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" ];