postgresqlPackages.timescaledb_toolkit: use cargo-pgrx_0_10_2 from top-level

This commit is contained in:
Mario Rodas 2024-03-15 04:20:00 +00:00
parent 22ba1a22d7
commit 6025943fa2
1 changed files with 1 additions and 20 deletions

View File

@ -3,31 +3,12 @@
, buildPgrxExtension
, postgresql
, nixosTests
, cargo-pgrx
, cargo-pgrx_0_10_2
, fetchCrate
, nix-update-script
, stdenv
}:
let
cargo-pgrx_0_10_2 = cargo-pgrx.overrideAttrs (old: rec {
name = "cargo-pgrx-${version}";
version = "0.10.2";
src = fetchCrate {
pname = "cargo-pgrx";
inherit version;
hash = "sha256-FqjfbJmSy5UCpPPPk4bkEyvQCnaH9zYtkI7txgIn+ls=";
};
cargoDeps = old.cargoDeps.overrideAttrs (_: {
inherit src;
outputHash = "sha256-XyI3RaPI3Edm/tCP2xoZemib2d2n2cAhobgk9Oafg6s=";
});
});
in
(buildPgrxExtension.override { cargo-pgrx = cargo-pgrx_0_10_2; }) rec {
inherit postgresql;