postgresqlPackages: enable strictDeps

This commit is contained in:
Wolfgang Walther
2025-02-01 19:48:27 +01:00
parent 70de1c0104
commit 7ab409bb28
7 changed files with 7 additions and 8 deletions
@@ -84,7 +84,9 @@ let
));
};
strictDeps = true;
buildInputs = [ postgresql ] ++ prevAttrs.buildInputs or [ ];
nativeBuildInputs = [ postgresql ] ++ prevAttrs.nativeBuildInputs or [ ];
installFlags = [
"DESTDIR=${placeholder "out"}"
@@ -15,9 +15,7 @@ buildPostgresqlExtension (finalAttrs: {
inherit (pg-dump-anon) version src;
nativeBuildInputs = [ postgresql ] ++ lib.optional jitSupport llvm;
strictDeps = true;
nativeBuildInputs = lib.optional jitSupport llvm;
# Needs to be after postInstall, where removeNestedNixStore runs
preFixup = ''
@@ -11,6 +11,7 @@ buildPostgresqlExtension rec {
pname = "cstore_fdw";
version = "1.7.0-unstable-2021-03-08";
buildInputs = [ protobufc ];
nativeBuildInputs = [ protobufc ];
src = fetchFromGitHub {
@@ -23,12 +23,9 @@ buildPostgresqlExtension (finalAttrs: {
hash = "sha256-Sa9ltW3KV/69OCxD3gRcp5owL0oW+z3fs4fRBHbSh30=";
};
strictDeps = true;
nativeBuildInputs = [
cmake
pkg-config
postgresql
];
buildInputs = [
@@ -19,6 +19,7 @@ buildPostgresqlExtension rec {
};
buildInputs = [ curl ];
nativeBuildInputs = [ curl ];
meta = with lib; {
description = "HTTP client for PostgreSQL, retrieve a web page from inside the database";
@@ -22,7 +22,6 @@ buildPostgresqlExtension (finalAttrs: {
};
nativeBuildInputs = [
postgresql
perl
perlPackages.TAPParserSourceHandlerpgTAP
which
+2 -1
View File
@@ -51,7 +51,6 @@ buildPostgresqlExtension (finalAttrs: {
buildInputs =
[
libxml2
geos
proj
gdal
@@ -65,8 +64,10 @@ buildPostgresqlExtension (finalAttrs: {
autoconf
automake
libtool
libxml2
perl
pkg-config
protobufc
which
] ++ lib.optional jitSupport llvm;
dontDisableStatic = true;