···29293030{
3131 lib,
3232- cargo-pgrx,
3332 pkg-config,
3433 rustPlatform,
3534 stdenv,
···6463 buildFeatures ? [ ],
6564 cargoBuildFlags ? [ ],
6665 cargoPgrxFlags ? [ ],
6666+ # pinned dependencies
6767+ cargo-pgrx,
6768 postgresql,
6869 # cargo-pgrx calls rustfmt on generated bindings, this is not strictly necessary, so we avoid the
6970 # dependency here. Set to false and provide rustfmt in nativeBuildInputs, if you need it, e.g.
···1212 stdenv,
1313}:
1414let
1515- buildPgrxExtension' = buildPgrxExtension.override {
1616- # Upstream only works with a fixed version of cargo-pgrx for each release,
1717- # so we're pinning it here to avoid future incompatibility.
1818- cargo-pgrx = cargo-pgrx_0_14_1;
1919- };
2020-2115 # Follow upstream and use rust-jemalloc-sys on linux aarch64 and x86_64
2216 # Additionally, disable init exec TLS, since it causes issues with postgres.
2317 # https://github.com/tensorchord/VectorChord/blob/0.4.2/Cargo.toml#L43-L44
···2923 })
3024 );
3125in
3232-buildPgrxExtension' (finalAttrs: {
2626+buildPgrxExtension (finalAttrs: {
3327 inherit postgresql;
2828+ cargo-pgrx = cargo-pgrx_0_14_1;
34293530 pname = "vectorchord";
3631 version = "0.4.2";