Skip to content

[Backport release-26.05] rocketchat-desktop: 4.15.6 -> 4.19.0 - #579774

Merged
teutat3s merged 5 commits into
NixOS:release-26.05from
Mynacol:rocketchat-4.19-26.05
Nov 3, 2026
Merged

teutat3s merged 5 commits into
NixOS:release-26.05from
Mynacol:rocketchat-4.19-26.05

Conversation

@Mynacol

@Mynacol Mynacol commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Manual backport of #579734.

To handle the upcoming insecurity and removal of Electron 42, we have to update rocketchat-desktop on stable as well.
Automatic cherry-picking doesn't work, as the yarn-berry update interferes.

Things done

r-ryantm and others added 5 commits October 27, 2026 21:01
(cherry picked from commit 380b05b)

Hashes differ from the original commit, as the src postFetch patch and
yarn-berry 4.18 from d251914 are not on release-26.05.

Assisted-by: opencode + claude opus 5.5
Freshly released, and based on Electron 43, which is important, as
Electron 42 is scheduled to be removed from nixpkgs.

(cherry picked from commit ac6a38d)

Hashes differ from the original commit, as the src postFetch patch and
yarn-berry 4.18 from d251914 are not on release-26.05.

Assisted-by: opencode + claude opus 5.5
nixpkgs-branch-check[bot]

This comment was marked as outdated.

@Mynacol Mynacol closed this Oct 27, 2026
@Mynacol Mynacol reopened this Oct 27, 2026
@Mynacol
Mynacol marked this pull request as draft October 27, 2026 20:15
@Mynacol
Mynacol changed the base branch from master to release-26.05 October 27, 2026 20:15
@nixpkgs-ci nixpkgs-ci Bot closed this Oct 27, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Oct 27, 2026
@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed their stale review October 27, 2026 20:17

Review dismissed automatically

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

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.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between d2aa6c7 and original 380b05b may warrant inspection.

Show diff
@@ Metadata
  ## Commit message ##
     rocketchat-desktop: 4.17.1 -> 4.18.2
 
+    (cherry picked from commit 380b05bf30ce40b4f55beaf8550d7813f1826b5e)
+
+    Hashes differ from the original commit, as the src postFetch patch and
+    yarn-berry 4.18 from d251914e2366 are not on release-26.05.
+
+    Assisted-by: opencode + claude opus 5.5
+
  ## pkgs/by-name/ro/rocketchat-desktop/package.nix ##
 @@ pkgs/by-name/ro/rocketchat-desktop/package.nix: let
  in
@@ pkgs/by-name/ro/rocketchat-desktop/package.nix: let
      owner = "RocketChat";
      repo = "Rocket.Chat.Electron";
      tag = finalAttrs.version;
--    hash = "sha256-6QA7dPuE70CLx7OD4s/a26Iya+L2Tx4yZ0cIsDjJPyY=";
-+    hash = "sha256-v1VH8DbaQZWUYeXgy5Kyn8aYwLSsX8n270GIpw1Z/L8=";
+-    hash = "sha256-nnV4UTCASBnEZmv6lpNm7zB9OmJZomWhnBlyNIfKZB0=";
++    hash = "sha256-x8B806RziRk3/PGdy081teX+0fKTlKXwsYQkFtUV9mM=";
+   };
  
-     # Remove after upstream updates to Yarn 4.15
-     # https://github.com/RocketChat/Rocket.Chat.Electron/blob/master/package.json#L187
+   patches = [
 @@ pkgs/by-name/ro/rocketchat-desktop/package.nix: stdenv.mkDerivation (finalAttrs: {
  
    offlineCache = yarn-berry.fetchYarnBerryDeps {
-     inherit (finalAttrs) src missingHashes;
--    hash = "sha256-NR0HJj8yHYaiDr8yhcoHxFHiO3zIJLXEMbG+gfBaMEY=";
-+    hash = "sha256-Obg7kHFRuub94AwG3raa2Tj/IphT1sEyVrYLxBQwdOI=";
+     inherit (finalAttrs) src missingHashes patches;
+-    hash = "sha256-ZG7bajXmzAtSHXxbgh0N8jxUyQLrm5Km9yDaAPZh/V4=";
++    hash = "sha256-WPOGfFgUDFcer/7MSxTC8E+yFJJ/P0NdwekISFX1t9I=";
    };
  
    nativeBuildInputs = [

Warning

Difference between e501031 and original ac6a38d may warrant inspection.

Show diff
@@ Commit message
     Freshly released, and based on Electron 43, which is important, as
     Electron 42 is scheduled to be removed from nixpkgs.
 
+    (cherry picked from commit ac6a38d52d7803ab1c5f1e445361f9cddd7cd828)
+
+    Hashes differ from the original commit, as the src postFetch patch and
+    yarn-berry 4.18 from d251914e2366 are not on release-26.05.
+
+    Assisted-by: opencode + claude opus 5.5
+
  ## pkgs/by-name/ro/rocketchat-desktop/package.nix ##
 @@
    pkg-config,
@@ pkgs/by-name/ro/rocketchat-desktop/package.nix
      owner = "RocketChat";
      repo = "Rocket.Chat.Electron";
      tag = finalAttrs.version;
--    hash = "sha256-v1VH8DbaQZWUYeXgy5Kyn8aYwLSsX8n270GIpw1Z/L8=";
-+    hash = "sha256-LtJBxhq9ev1XrUOzLAlrYb368awMMyWtgaJODC3tMBU=";
+-    hash = "sha256-x8B806RziRk3/PGdy081teX+0fKTlKXwsYQkFtUV9mM=";
++    hash = "sha256-VbOmB+O7HjccdSup90DGirsVh4X4hjp2kgiI9uAv99w=";
+   };
  
-     # Remove after upstream updates to Yarn 4.15
-     # https://github.com/RocketChat/Rocket.Chat.Electron/blob/master/package.json#L187
+   patches = [
 @@ pkgs/by-name/ro/rocketchat-desktop/package.nix: stdenv.mkDerivation (finalAttrs: {
  
    offlineCache = yarn-berry.fetchYarnBerryDeps {
-     inherit (finalAttrs) src missingHashes;
--    hash = "sha256-Obg7kHFRuub94AwG3raa2Tj/IphT1sEyVrYLxBQwdOI=";
-+    hash = "sha256-iFLLePb3lL7cBu9E6v3MuwycRwuY/y5f+JXmWpdWqNw=";
+     inherit (finalAttrs) src missingHashes patches;
+-    hash = "sha256-WPOGfFgUDFcer/7MSxTC8E+yFJJ/P0NdwekISFX1t9I=";
++    hash = "sha256-L4IX/Kjm+a0vl6aj8L+a/xdzo+MfqfS6LnBr/S3Jtl8=";
    };
  
    nativeBuildInputs = [

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

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. llm-assisted Contributions that include code generation with LLMs 4.workflow: backport This targets a stable branch labels Oct 27, 2026
@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (bfa707b)

Command: nixpkgs-review pr 579774 -c commit
Commit: e501031a436a42864b79b6dd916ffc59cc29a5ff (subsequent changes)
Merge: 6cc3356b4eeae1d2dbee9ad4da0343c0fad4e62f

Triggered by @Mynacol (26695166)
Logs: https://github.com/Mynacol/nixpkgs-review-gha/actions/runs/40578410051/attempts/1


x86_64-linux

✅ 1 package built:
  • rocketchat-desktop

aarch64-linux

✅ 1 package built:
  • rocketchat-desktop

@Mynacol
Mynacol marked this pull request as ready for review October 29, 2026 02:00
@nixpkgs-ci
nixpkgs-ci Bot requested a review from chvp October 29, 2026 02:06
@skowalak

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 579774
Commit: e501031a436a42864b79b6dd916ffc59cc29a5ff


x86_64-linux

✅ 1 package built:
  • rocketchat-desktop

@skowalak

Copy link
Copy Markdown
Member

from the packaging itself it looks good, builds on my machine and runs fine. i don't know about what exactly is required to make the ci pass in this backport.

@Mynacol

Mynacol commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

I think that was because the base commits of the cherry-picks were not merged at that point. Let me rerun the CI now.

@Mynacol Mynacol closed this Oct 30, 2026
@Mynacol Mynacol reopened this Oct 30, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 30, 2026
@teutat3s teutat3s mentioned this pull request Oct 30, 2026
27 of 38 tasks
@teutat3s
teutat3s dismissed nixpkgs-commit-check[bot]’s stale review November 3, 2026 10:25

Diff expected because of yarn-berry version difference between master and release-26.05

@teutat3s
teutat3s added this pull request to the merge queue Nov 3, 2026
Merged via the queue into NixOS:release-26.05 with commit 5167857 Nov 3, 2026
81 of 95 checks passed
@Mynacol
Mynacol deleted the rocketchat-4.19-26.05 branch November 5, 2026 09:23
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 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants