Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5a2b2a4
chore: refactor hypopg to target deps for phases
samrose Sep 18, 2024
c16c5ee
chore: target build inputs for index_advisor
samrose Sep 18, 2024
9aa6d61
chore: target phase deps for pg_backtrace
samrose Sep 18, 2024
4f00733
chore: target deps for build phase on pg_cron
samrose Sep 18, 2024
1727d8b
feat: target build phases with deps for pg_graphql
samrose Sep 19, 2024
f9e332c
feat: target build phases with pg_hashids
samrose Sep 19, 2024
00dbec9
feat: target deps for pg_jsonschema
samrose Sep 19, 2024
49a27f5
feat: target deps for pg_net
samrose Sep 19, 2024
2303de0
feat: target deps for pg_plan_filter
samrose Sep 19, 2024
31ad697
feat: target deps for pg_stat_monitor
samrose Sep 19, 2024
232448b
feat: target deps pg_tle
samrose Sep 19, 2024
edb24d3
feat: target deps pg-safeupdate
samrose Sep 19, 2024
0b3ff57
feat: target deps of pgaudit
samrose Sep 19, 2024
088816f
feat: target deps of pgroonga
samrose Sep 19, 2024
e616f38
feat: target deps of pgrouting
samrose Sep 19, 2024
de64594
feat: target deps pgsodium
samrose Sep 19, 2024
292fdf9
feat: target deps for pgsql-http
samrose Sep 19, 2024
85060c7
feat: target deps on pgvector
samrose Sep 19, 2024
5ed1bb7
feat: target deps on plpgslq-check
samrose Sep 19, 2024
acd9120
feat: target deps plv8
samrose Sep 19, 2024
61cf524
feat: target deps for rum
samrose Sep 19, 2024
e307eea
feat: target deps supautils
samrose Sep 19, 2024
9b71a78
feat: target deps timescale
samrose Sep 19, 2024
a3dbc6e
feat: target deps vault
samrose Sep 19, 2024
a0a9c90
feat: target deps wal2json
samrose Sep 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nix/ext/hypopg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "hypopg";
version = "1.4.1";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "HypoPG";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/index_advisor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "index_advisor";
version = "0.2.0";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "olirice";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg-safeupdate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg-safeupdate";
version = "1.4";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "eradman";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg_backtrace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg_backtrace";
version = "1.1";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "pashkinelfe";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg_cron.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg_cron";
version = "1.6.4";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "citusdata";
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/pg_graphql.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ buildPgrxExtension_0_11_3 rec {
hash = "sha256-Q6XfcTKVOjo5pGy8QACc4QCHolKxEGU8e0TTC6Zg8go=";
};

nativeBuildInputs = [ cargo ];
buildInputs = [ postgresql ];
nativeBuildInputs = [ cargo postgresql ];
buildInputs = [ postgresql.lib ];

CARGO="${cargo}/bin/cargo";
#darwin env needs PGPORT to be unique for build to not clash with other pgrx extensions
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg_hashids.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg_hashids";
version = "cd0e1b31d52b394a0df64079406a14a4f7387cd6";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "iCyberon";
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/pg_jsonschema.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ buildPgrxExtension_0_11_3 rec {
hash = "sha256-YdKpOEiDIz60xE7C+EzpYjBcH0HabnDbtZl23CYls6g=";
};

nativeBuildInputs = [ cargo ];
buildInputs = [ postgresql ];
nativeBuildInputs = [ cargo postgresql];
buildInputs = [ postgresql.lib ];
# update the following array when the pg_jsonschema version is updated
# required to ensure that extensions update scripts from previous versions are generated

Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg_net.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg_net";
version = "0.10.0";

buildInputs = [ curl postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ curl postgresql.lib ];

src = fetchFromGitHub {
owner = "supabase";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg_plan_filter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg_plan_filter";
version = "5081a7b5cb890876e67d8e7486b6a64c38c9a492";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "pgexperts";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pg_stat_monitor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
pname = "pg_stat_monitor";
version = "1.1.1";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "percona";
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/pg_tle.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ stdenv.mkDerivation rec {
pname = "pg_tle";
version = "1.4.0";

nativeBuildInputs = [ flex ];
buildInputs = [ openssl postgresql libkrb5 ];
nativeBuildInputs = [ flex openssl postgresql libkrb5 ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "aws";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pgaudit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
hash = "sha256-8pShPr4HJaJQPjW1iPJIpj3CutTx8Tgr+rOqoXtgCcw=";
};

buildInputs = [ libkrb5 openssl postgresql ];
nativeBuildInputs = [ libkrb5 openssl postgresql ];
buildInputs = [ postgresql.lib ];

makeFlags = [ "USE_PGXS=1" ];

Expand Down
4 changes: 2 additions & 2 deletions nix/ext/pgroonga.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-iF/zh4zDDpAw5fxW1WG8i2bfPt4VYsnYArwOoE/lwgM=";
};
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ postgresql msgpack-c supabase-groonga mecab ];
nativeBuildInputs = [ pkg-config makeWrapper postgresql];
buildInputs = [ postgresql.lib msgpack-c supabase-groonga mecab ];
propagatedBuildInputs = [ supabase-groonga ];
configureFlags = [
"--with-mecab=${mecab}"
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/pgrouting.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ stdenv.mkDerivation rec {
pname = "pgrouting";
version = "3.4.1";

nativeBuildInputs = [ cmake perl ];
buildInputs = [ postgresql boost ];
nativeBuildInputs = [ cmake perl postgresql ];
buildInputs = [ postgresql.lib boost ];

src = fetchFromGitHub {
owner = "pgRouting";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pgsodium.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pgsodium";
version = "3.1.8";

buildInputs = [ libsodium postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ libsodium postgresql.lib ];

src = fetchFromGitHub {
owner = "michelp";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pgsql-http.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pgsql-http";
version = "1.5.0";

buildInputs = [ curl postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ curl postgresql.lib ];

src = fetchFromGitHub {
owner = "pramsey";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/pgvector.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "pgvector";
version = "0.7.4";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "pgvector";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/plpgsql-check.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
hash = "sha256-vR3MvfmUP2QEAtXFpq0NCCKck3wZPD+H3QleHtyVQJs=";
};

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

installPhase = ''
install -D -t $out/lib *${postgresql.dlSuffix}
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/plv8.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
perl
postgresql
] ++ lib.optionals stdenv.isDarwin [
clang
xcbuild
Expand All @@ -40,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
(v8.overrideAttrs (oldAttrs: {
version = "9.7.106.18";
}))
postgresql
postgresql.lib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.Kerberos
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/rum.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
hash = "sha256-yy2xeDnk3fENN+En0st4mv60nZlqPafIzwf68jwJ5fE=";
};

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

makeFlags = [ "USE_PGXS=1" ];

Expand Down
3 changes: 2 additions & 1 deletion nix/ext/supautils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "supautils";
version = "2.2.1";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "supabase";
Expand Down
4 changes: 2 additions & 2 deletions nix/ext/timescaledb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ stdenv.mkDerivation rec {
pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
version = "2.9.1";

nativeBuildInputs = [ cmake ];
buildInputs = [ postgresql openssl libkrb5 ];
nativeBuildInputs = [ cmake postgresql ];
buildInputs = [ postgresql.lib openssl libkrb5 ];

src = fetchFromGitHub {
owner = "timescale";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/vault.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ stdenv.mkDerivation rec {
pname = "vault";
version = "0.2.9";

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

src = fetchFromGitHub {
owner = "supabase";
Expand Down
3 changes: 2 additions & 1 deletion nix/ext/wal2json.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
hash = "sha256-Gpc9uDKrs/dmVSFgdgHM453+TaEnhRh9t0gDbSn8FUI=";
};

buildInputs = [ postgresql ];
nativeBuildInputs = [ postgresql ];
buildInputs = [ postgresql.lib ];

makeFlags = [ "USE_PGXS=1" ];

Expand Down
Loading