Skip to content

Commit a090a36

Browse files
committed
chore: cleanup
1 parent 59e681c commit a090a36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nix/ext/wrappers/default.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ buildPgrxExtension_0_12_6 rec {
2727
rev = "v${version}";
2828
hash = "sha256-CkoNMoh40zbQL4V49ZNYgv3JjoNWjODtTpHn+L8DdZA=";
2929
};
30-
#cargoSha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
30+
3131
nativeBuildInputs = [ pkg-config cargo ];
3232
buildInputs = [ openssl postgresql ] ++ lib.optionals (stdenv.isDarwin) [
3333
darwin.apple_sdk.frameworks.CoreFoundation
3434
darwin.apple_sdk.frameworks.Security
3535
darwin.apple_sdk.frameworks.SystemConfiguration
3636
];
3737

38-
NIX_LDFLAGS = "-L${postgresql.lib}/lib -lpq";
38+
NIX_LDFLAGS = "-L${postgresql}/lib -lpq";
3939

4040
# Set necessary environment variables for pgrx
4141
env = lib.optionalAttrs stdenv.isDarwin {
@@ -75,7 +75,6 @@ buildPgrxExtension_0_12_6 rec {
7575
preBuild = ''
7676
echo "Processing git tags..."
7777
echo '${builtins.concatStringsSep "," previousVersions}' | sed 's/,/\n/g' > git_tags.txt
78-
export RUSTC_BOOTSTRAP=1
7978
'';
8079

8180
postInstall = ''

0 commit comments

Comments
 (0)