Skip to content

Commit 326935d

Browse files
committed
fix: overlay and use our buildPgrxExtension function
These overlay packages will be removed once the extensions are updated to use the new `buildPgrxExtension` function.
1 parent c4dd012 commit 326935d

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

nix/cargo-pgrx/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ in
6565
cargo-pgrx_0_12_6 = mkCargoPgrx {
6666
version = "0.12.6";
6767
hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA=";
68-
cargoHash = "sha256-Di4UldQwAt3xVyvgQT1gUhdvYUVp7n/a72pnX45kP0w=";
68+
cargoHash = "sha256-pnMxWWfvr1/AEp8DvG4awig8zjdHizJHoZ5RJA8CL08=";
6969
};
7070
cargo-pgrx_0_12_9 = mkCargoPgrx {
7171
version = "0.12.9";
7272
hash = "sha256-aR3DZAjeEEAjLQfZ0ZxkjLqTVMIEbU0UiZ62T4BkQq8=";
73-
cargoHash = "sha256-KTKcol9qSNLQZGW32e6fBb6cPkUGItknyVpLdBYqrBY=";
73+
cargoHash = "sha256-yZpD3FriL9UbzRtdFkfIfFfYIrRPYxr/lZ5rb0YBTPc=";
7474
};
7575
cargo-pgrx_0_14_3 = mkCargoPgrx {
7676
version = "0.14.3";
7777
hash = "sha256-3TsNpEqNm3Uol5XPW1i0XEbP2fF2+RKB2d7lO6BDnvQ=";
78-
cargoHash = "sha256-Ny7j56pwB+2eEK62X0nWfFKQy5fBz+Q1oyvecivxLkk=";
78+
cargoHash = "sha256-LZUXhjMxkBs3O5feH4X5NQC7Qk4Ja6M5+sAYaSCikrY=";
7979
};
8080
inherit mkCargoPgrx;
8181
}

nix/overlays/default.nix

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{ self, ... }:
22
{
3-
flake.overlays.default = final: prev: {
3+
flake.overlays.default = final: _prev: {
44
# NOTE: add any needed overlays here. in theory we could
55
# pull them from the overlays/ directory automatically, but we don't
66
# want to have an arbitrary order, since it might matter. being
@@ -31,24 +31,23 @@
3131
inherit (final) lib;
3232
inherit (final) Security;
3333
inherit (final) pkg-config;
34-
inherit (final) makeRustPlatform;
3534
inherit (final) stdenv;
3635
inherit (final) writeShellScriptBin;
3736
};
3837

39-
buildPgrxExtension_0_11_3 = prev.buildPgrxExtension.override {
38+
buildPgrxExtension_0_11_3 = final.buildPgrxExtension.override {
4039
cargo-pgrx = final.cargo-pgrx.cargo-pgrx_0_11_3;
4140
};
4241

43-
buildPgrxExtension_0_12_6 = prev.buildPgrxExtension.override {
42+
buildPgrxExtension_0_12_6 = final.buildPgrxExtension.override {
4443
cargo-pgrx = final.cargo-pgrx.cargo-pgrx_0_12_6;
4544
};
4645

47-
buildPgrxExtension_0_12_9 = prev.buildPgrxExtension.override {
46+
buildPgrxExtension_0_12_9 = final.buildPgrxExtension.override {
4847
cargo-pgrx = final.cargo-pgrx.cargo-pgrx_0_12_9;
4948
};
5049

51-
buildPgrxExtension_0_14_3 = prev.buildPgrxExtension.override {
50+
buildPgrxExtension_0_14_3 = final.buildPgrxExtension.override {
5251
cargo-pgrx = final.cargo-pgrx.cargo-pgrx_0_14_3;
5352
};
5453
};

0 commit comments

Comments
 (0)