Commit a13e0070 authored by Scott Dier's avatar Scott Dier
Browse files

cargo-pgrx: Call cargo pgrx instead of cargo-pgrx.

The new version check in pgrx 0.11.3 depends on the 'CARGO' environment
variable which is not set unless 'cargo pgrx' is called.
parent d091b7f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ let

      NIX_PGLIBDIR="${postgresql}/lib" \
      PGRX_BUILD_FLAGS="--frozen -j $NIX_BUILD_CORES ${builtins.concatStringsSep " " cargoBuildFlags}" \
      cargo-pgrx pgrx package \
      cargo pgrx package \
        --pg-config ${postgresql}/bin/pg_config \
        ${maybeDebugFlag} \
        --features "${builtins.concatStringsSep " " buildFeatures}" \