Skip to content

electron_45: init at 45.2.1 - #578912

Merged
teutat3s merged 8 commits into
NixOS:masterfrom
ShamrockLee:electron-45-bin
Nov 1, 2026
Merged

teutat3s merged 8 commits into
NixOS:masterfrom
ShamrockLee:electron-45-bin

Conversation

@ShamrockLee

@ShamrockLee ShamrockLee commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Initialise electron_45-bin and electron-chromedriver_45 automatically with

pkgs/development/tools/electron/binary/update.py update -v 45 -c

Point electron_45 to electron_45-bin for now as pkgs/development/tools/electron/update.py update -v 45 -c run was not a success, and issue #576496 needs timely addressing.

If merged, packages whose upstream bumps from Electron 42 to Electron 45 can be updated.

Per automation/AI policy, tooling like update scripts are exempted from the Assisted-by footer.

Things done

@ShamrockLee ShamrockLee mentioned this pull request Oct 25, 2026
27 of 38 tasks
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 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. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! labels Oct 25, 2026
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Oct 25, 2026

@Scrumplex Scrumplex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't believe this is a breaking change (as existing attributes are not changed) so on behalf of @NixOS/nixos-release-managers this is approved.

@teutat3s

teutat3s commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

electron-source maintainer here. Thanks for starting this, we usually try to keep electron-bin and electron-source versions in sync, which I would like to try for electron 45, too. I plan to look into the electron-source update again this weekend and would push my commits onto your branch, if that's okay.

@ShamrockLee

Copy link
Copy Markdown
Contributor Author

I plan to look into the electron-source update again this weekend and would push my commits onto your branch, if that's okay.

I appreciate it.

@andersk andersk added the backport release-26.05 Backport PR automatically label Oct 31, 2026
@teutat3s

Copy link
Copy Markdown
Member

To successfully use electron update.py this workaround was required:

# hack workaround for https://issues.chromium.org/issues/576745302
systemd.services.nix-daemon.serviceConfig.Environment = "NIX_CURL_FLAGS=--header=Cookie:gi=0";
systemd.services."nix-daemon@".serviceConfig.Environment = "NIX_CURL_FLAGS=--header=Cookie:gi=0";

Related comment: #576960 (comment)

@teutat3s teutat3s changed the title electron_45-bin, electron-chromedriver_45: init at 45.0.0; electron_45: reference electron_45-bin electron_45: init at 45.2.1 Oct 31, 2026
ShamrockLee and others added 6 commits October 31, 2026 14:42
Initialise automatically with
pkgs/development/tools/electron/binary/update.py update -v 45 -c
plus manual registry inside all-packages.nix

- Changelog: https://github.com/electron/electron/releases/tag/v45.0.0
Initialise automatically with
pkgs/development/tools/electron/binary/update.py update -v 45 -c
plus manual registry inside all-packages.nix

- Changelog: https://github.com/electron/electron/releases/tag/v45.0.0
electron-source.electron_45 not yet available.
@teutat3s

Copy link
Copy Markdown
Member

electron-source_45 does not build yet ...

@emilylange

emilylange commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

@teutat3s wanna share some logs? A bunch of stuff changed in the four chromium major releases between electron_44 and electron_45. I tried to tape over it in a way that shouldn't require any adjustments on your side, but maybe that didn't quite work out.

Edit: I can also offer you to message me on Matrix, if that's easier

@teutat3s

Copy link
Copy Markdown
Member

@teutat3s wanna share some logs? A bunch of stuff changed in the four chromium major releases between electron_44 and electron_45. I tried to tape over it in a way that shouldn't require any adjustments on your side, but maybe that didn't quite work out.

Edit: I can also offer you to message me on Matrix, if that's easier

Thanks for the offer to help, I appreciate it very much! I've contacted you via Matrix.

Workaround different format of info.json for chromium and electron.
Rebase patch 0001-Revert-build-stop-shipping-dummy-ANGLE-libs-in-Linux.patch
for electron 45. Remove no longer needed patch for EOL electron 42.
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version and removed 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! labels Oct 31, 2026
@LashaKamadadze LashaKamadadze mentioned this pull request Oct 31, 2026
5 of 13 tasks
@teutat3s

Copy link
Copy Markdown
Member

Building electron_45 on x86_64-linux ...

@teutat3s

teutat3s commented Nov 1, 2026

Copy link
Copy Markdown
Member

Built electron_45 with success on x86_64-linux.

@teutat3s
teutat3s added this pull request to the merge queue Nov 1, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 1, 2026
Merged via the queue into NixOS:master with commit ef14c62 Nov 1, 2026
30 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Backport failed for release-26.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-26.05
git worktree add -d .worktree/backport-578912-to-release-26.05 origin/release-26.05
cd .worktree/backport-578912-to-release-26.05
git switch --create backport-578912-to-release-26.05
git cherry-pick -x 81274194a52cc9e639e77a4aea122d40df98843e 938afdc8bd5ed5e4d9abea9ec2e52480e47bda1f 6baf05616445f8459ead5bdb22c5ba225a159bcf 769ce0824dbc851d863106a7ba617c27e5c873a4 3eb41142dc701bee52a291ced8143668bca8ca2f fac4aa97405a1300df57944debe674806326a6d2 89e5d7e6b676b193862a7131df11639c5762340f 8df95b8f79f7add8593c88de6ff1fa790e8db4da

@teutat3s teutat3s mentioned this pull request Nov 1, 2026
2 of 13 tasks
@teutat3s teutat3s added 8.has: port to stable This PR already has a backport to the stable release. and removed 8.has: failed backport backport release-26.05 Backport PR automatically labels Nov 1, 2026
@teutat3s teutat3s mentioned this pull request Nov 3, 2026
2 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants