Skip to content

Comments

electron-fiddle: 0.36.6 -> 0.36.6-unstable-2025-07-17, bump electron#402588

Merged
TomaSajt merged 1 commit intoNixOS:masterfrom
TomaSajt:electron-fiddle
Jul 28, 2025
Merged

electron-fiddle: 0.36.6 -> 0.36.6-unstable-2025-07-17, bump electron#402588
TomaSajt merged 1 commit intoNixOS:masterfrom
TomaSajt:electron-fiddle

Conversation

@TomaSajt
Copy link
Contributor

@TomaSajt TomaSajt commented Apr 28, 2025

Related: #397918

Nodejs version doesn't matter that much, upstream just constrains it to be nodejs>=20

The electron version used by upstream is electron 33, which has been EOL for a while.

I bumped the package to a revision where they bumped the electron version to 36.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 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. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 28, 2025
@nix-owners nix-owners bot requested a review from andersk April 28, 2025 17:51
Copy link
Contributor

@andersk andersk left a comment

Choose a reason for hiding this comment

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

Since this is a very meta package (electron binary downloader + code-editor + run-the-code-using-the-downloaded-electron), I'd assume it would work with any electron version.

We can’t just assume things! The “meta”ness has nothing to do with it—electron-fiddle is a normal Electron app that happens to also have some “meta” functionality, and all concerns that apply to normal Electron apps apply here as well. Electron adds breaking changes in almost every major release—see #279545 (comment) and #295770 (comment), for example. Even if this happens to work at this moment in time, it’s definitely going to break in the future.

@TomaSajt
Copy link
Contributor Author

Okay, so, are you planning on keeping it electron_33, even when it is EOL?

Would you be fine with just pinning it to electron_34?

@TomaSajt TomaSajt changed the title electron-fiddle: unpin electron and nodejs versions electron-fiddle: unpin nodejs version, update electron version Jun 25, 2025
@TomaSajt
Copy link
Contributor Author

@andersk I have updated the PR to not unlock the electron version, only pin it to a non EOL version. This way we'll still need to check if using electron_35 is fine, but it won't break unannounced later.

@nixpkgs-ci nixpkgs-ci bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label Jun 25, 2025
@teutat3s
Copy link
Member

teutat3s commented Jul 22, 2025

Upstream did bump their electron version to 36 recently, but no release yet. electron/fiddle#1713

EDIT: Motivation: electron-fiddle is the last package preventing us from dropping EOL electron_33-bin from nixpkgs.

@teutat3s teutat3s mentioned this pull request Jul 22, 2025
13 tasks
@teutat3s teutat3s requested review from teutat3s and yayayayaka July 22, 2025 11:54
@TomaSajt TomaSajt changed the title electron-fiddle: unpin nodejs version, update electron version electron-fiddle: 0.36.6 -> 0.36.6-unstable-2025-07-17, bump electron Jul 22, 2025
@TomaSajt TomaSajt requested a review from andersk July 22, 2025 16:19
@TomaSajt
Copy link
Contributor Author

Seems to be working okay, we can merge soon.
(I'd wait a day so that @andersk may have time to review)

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 22, 2025
@TomaSajt TomaSajt merged commit a1a6889 into NixOS:master Jul 28, 2025
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 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.

3 participants