Skip to content

[25.05] postgresqlPackages.vectorchord: init at 0.4.2 - #429374

Merged
dotlambda merged 4 commits into
NixOS:release-25.05from
diogotcorreia:backport-25.05-vectorchord
Sep 13, 2025
Merged

dotlambda merged 4 commits into
NixOS:release-25.05from
diogotcorreia:backport-25.05-vectorchord

Conversation

@diogotcorreia

Copy link
Copy Markdown
Member

Backport to 25.05 of:

Also adds rust_1_88 as discussed in #392710 (comment) (cc @dotlambda @winterqt)

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 4.workflow: backport This targets a stable branch labels Jul 29, 2025

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Please follow the backporting guidelines and cherry-pick with the -x flag.
This requires changes to the unstable master and staging branches first, before backporting them.

Occasionally, it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts or when updating minor versions of packages which have already advanced to the next major on unstable.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Couldn't locate original commit hash in message of b5db1a3.

Warning

Difference between d9c4354 and original 136519b may warrant inspection.

Show diff
@@ Metadata
 Author: Diogo Correia <[email protected]>
 
  ## Commit message ##
-    cargo-pgrx_0_14_1: init; cargo-pgrx: 0.12.6 -> 0.14.1
+    cargo-pgrx_0_14_1: init
+
+    (cherry picked from commit 136519ba0aae07001fad3508dc23ef5959cf9341)
 
  ## pkgs/development/tools/rust/cargo-pgrx/default.nix ##
 @@ pkgs/development/tools/rust/cargo-pgrx/default.nix: in
@@ pkgs/top-level/all-packages.nix: with pkgs;
      cargo-pgrx_0_12_6
 +    cargo-pgrx_0_14_1
      ;
--  cargo-pgrx = cargo-pgrx_0_12_6;
-+  cargo-pgrx = cargo-pgrx_0_14_1;
+   cargo-pgrx = cargo-pgrx_0_12_6;
  
-   buildPgrxExtension = callPackage ../development/tools/rust/cargo-pgrx/buildPgrxExtension.nix { };
-   opensmalltalk-vm = callPackage ../development/compilers/opensmalltalk-vm { };

Warning

Difference between 779a85d and original ab82f5a may warrant inspection.

Show diff
@@ Metadata
  ## Commit message ##
     postgresqlPackages.vectorchord: init at 0.4.2
 
+    (cherry picked from commit ab82f5a51158d05d8d713bfc6f4cbec0456f85eb)
+
  ## pkgs/servers/sql/postgresql/ext/vectorchord/0001-read-clang-flags-from-environment.diff (new) ##
 @@
 +diff --git a/crates/simd/build.rs b/crates/simd/build.rs
@@ pkgs/servers/sql/postgresql/ext/vectorchord/package.nix (new)
 +  postgresqlTestExtension,
 +  replaceVars,
 +  rust-jemalloc-sys,
++  rustPackages_1_88,
 +  stdenv,
 +}:
 +let
@@ pkgs/servers/sql/postgresql/ext/vectorchord/package.nix (new)
 +    # Upstream only works with a fixed version of cargo-pgrx for each release,
 +    # so we're pinning it here to avoid future incompatibility.
 +    cargo-pgrx = cargo-pgrx_0_14_1;
++    inherit (rustPackages_1_88) rustPlatform;
 +  };
 +
 +  # Follow upstream and use rust-jemalloc-sys on linux aarch64 and x86_64

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@dotlambda
dotlambda merged commit 688b05f into NixOS:release-25.05 Sep 13, 2025
@diogotcorreia
diogotcorreia deleted the backport-25.05-vectorchord branch October 16, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants