File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ buildPgrxExtension_0_11_3 rec {
16
16
buildInputs = [ postgresql ] ;
17
17
18
18
CARGO = "${ cargo } /bin/cargo" ;
19
+ #darwin env needs PGPORT to be unique for build to not clash with other pgrx extensions
19
20
env = lib . optionalAttrs stdenv . isDarwin {
20
21
POSTGRES_LIB = "${ postgresql } /lib" ;
21
22
RUSTFLAGS = "-C link-arg=-undefined -C link-arg=dynamic_lookup" ;
23
+ PGPORT = "5434" ;
22
24
} ;
23
25
cargoHash = "sha256-WkHufMw8OvinMRYd06ZJACnVvY9OLi069nCgq3LSmMY=" ;
24
26
Original file line number Diff line number Diff line change @@ -19,9 +19,11 @@ buildPgrxExtension_0_11_3 rec {
19
19
20
20
previousVersions = [ "0.3.0" "0.2.0" "0.1.4" "0.1.4" "0.1.2" "0.1.1" "0.1.0" ] ;
21
21
CARGO = "${ cargo } /bin/cargo" ;
22
+ #darwin env needs PGPORT to be unique for build to not clash with other pgrx extensions
22
23
env = lib . optionalAttrs stdenv . isDarwin {
23
24
POSTGRES_LIB = "${ postgresql } /lib" ;
24
25
RUSTFLAGS = "-C link-arg=-undefined -C link-arg=dynamic_lookup" ;
26
+ PGPORT = "5433" ;
25
27
} ;
26
28
cargoHash = "sha256-VcS+efMDppofuFW2zNrhhsbC28By3lYekDFquHPta2g=" ;
27
29
You can’t perform that action at this time.
0 commit comments