Skip to content

Commit

Permalink
buildPgxExtension: remove old versions
Browse files Browse the repository at this point in the history
pgx had been renamed to pgrx in April 2023 already [1]. Newer versions
are already in nixpkgs as pgrx. Since the previous commit removed
the only remaining instance of a package still depending on
pgx 0.6.1, we can now remove all of buildPgxExtension and cargo-pgx.

[1]: pgcentralfoundation/pgrx#1106
  • Loading branch information
wolfgangwalther committed Apr 20, 2024
1 parent 945a3bb commit a0a1328
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 259 deletions.
26 changes: 0 additions & 26 deletions pkgs/development/tools/rust/cargo-pgx/0_6_1.nix

This file was deleted.

26 changes: 0 additions & 26 deletions pkgs/development/tools/rust/cargo-pgx/0_7_1.nix

This file was deleted.

26 changes: 0 additions & 26 deletions pkgs/development/tools/rust/cargo-pgx/0_7_4.nix

This file was deleted.

160 changes: 0 additions & 160 deletions pkgs/development/tools/rust/cargo-pgx/buildPgxExtension.nix

This file was deleted.

8 changes: 0 additions & 8 deletions pkgs/servers/sql/postgresql/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ let
# JIT
, jitSupport
, nukeReferences, patchelf, llvmPackages
, makeRustPlatform, buildPgxExtension, cargo, rustc

# PL/Python
, pythonSupport ? false
Expand Down Expand Up @@ -235,13 +234,6 @@ let
inherit (llvmPackages) llvm;
postgresql = this;
stdenv = stdenv';
buildPgxExtension = buildPgxExtension.override {
stdenv = stdenv';
rustPlatform = makeRustPlatform {
stdenv = stdenv';
inherit rustc cargo;
};
};
};
newSelf = self // scope;
newSuper = { callPackage = newScope (scope // this.pkgs); };
Expand Down
13 changes: 0 additions & 13 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16757,19 +16757,6 @@ with pkgs;
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated {
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security SystemConfiguration;
};
cargo-pgx_0_6_1 = callPackage ../development/tools/rust/cargo-pgx/0_6_1.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-pgx_0_7_1 = callPackage ../development/tools/rust/cargo-pgx/0_7_1.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-pgx_0_7_4 = callPackage ../development/tools/rust/cargo-pgx/0_7_4.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-pgx = cargo-pgx_0_7_4;
buildPgxExtension = callPackage ../development/tools/rust/cargo-pgx/buildPgxExtension.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (callPackages ../development/tools/rust/cargo-pgrx { })
cargo-pgrx_0_10_2
cargo-pgrx_0_11_2
Expand Down

0 comments on commit a0a1328

Please sign in to comment.