Skip to content

Commit e69a8a1

Browse files
committed
chore: darwin set specific ports for the build process
1 parent a8d255d commit e69a8a1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

nix/ext/pg_graphql.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ buildPgrxExtension_0_11_3 rec {
1919
env = lib.optionalAttrs stdenv.isDarwin {
2020
POSTGRES_LIB = "${postgresql}/lib";
2121
RUSTFLAGS = "-C link-arg=-undefined -C link-arg=dynamic_lookup";
22+
PGPORT = "5434";
2223
};
2324
cargoHash = "sha256-WkHufMw8OvinMRYd06ZJACnVvY9OLi069nCgq3LSmMY=";
2425

nix/ext/pg_jsonschema.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ buildPgrxExtension_0_11_3 rec {
2222
env = lib.optionalAttrs stdenv.isDarwin {
2323
POSTGRES_LIB = "${postgresql}/lib";
2424
RUSTFLAGS = "-C link-arg=-undefined -C link-arg=dynamic_lookup";
25+
PGPORT = "5433";
2526
};
2627
cargoHash = "sha256-VcS+efMDppofuFW2zNrhhsbC28By3lYekDFquHPta2g=";
2728

0 commit comments

Comments
 (0)