Skip to content

Comments

[23.11] Backport Electron updates, init electron_29, init electron_28-bin, init electron_29-bin#301322

Merged
drupol merged 5 commits intoNixOS:release-23.11from
teutat3s:backport-295672-to-release-23.11
Apr 7, 2024
Merged

[23.11] Backport Electron updates, init electron_29, init electron_28-bin, init electron_29-bin#301322
drupol merged 5 commits intoNixOS:release-23.11from
teutat3s:backport-295672-to-release-23.11

Conversation

@teutat3s
Copy link
Member

@teutat3s teutat3s commented Apr 3, 2024

Description of changes

Partial backport of #295672.

This is required to merge #300741. The pinned electron version stays the same, only new versions are introduced.

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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 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.

yuyuyureka and others added 4 commits April 3, 2024 20:31
(cherry picked from commit 29c0b6e)
(cherry picked from commit 46eff96)
(cherry picked from commit d854530)
@teutat3s teutat3s requested a review from yu-re-ka April 3, 2024 18:43
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Apr 3, 2024
@teutat3s
Copy link
Member Author

teutat3s commented Apr 4, 2024

Looks like a few fixes from ea0df4c will be required for this to build.

@teutat3s teutat3s marked this pull request as draft April 4, 2024 10:08
@yu-re-ka
Copy link
Contributor

yu-re-ka commented Apr 4, 2024

Indeed I'd assume that as much as possible should be backported, ideally making auto-backports possible for future updates again

- provide passthru.fetchedDeps for debugging
- adapt gn args for latest electron versions
- fix mechanism for applying patches for latest electron versions

(cherry picked from commit 9f26152)
@teutat3s
Copy link
Member Author

teutat3s commented Apr 4, 2024

@yu-re-ka does the build just fail because it takes too long?

EDIT: also I had one doubt about v8_scriptormodule_legacy_lifetime - it okay to leave it for 23.11 or should we also remove it here?

@teutat3s
Copy link
Member Author

teutat3s commented Apr 5, 2024

Result of nixpkgs-review pr 301322 run on x86_64-linux 1

1 package built:
  • electron_29

@teutat3s teutat3s marked this pull request as ready for review April 5, 2024 18:36
@teutat3s
Copy link
Member Author

teutat3s commented Apr 5, 2024

@ofborg build electron electron_27 electron_28 electron_29
@ofborg test electron electron_27 electron_28 electron_29

@yu-re-ka
Copy link
Contributor

yu-re-ka commented Apr 5, 2024

Ofborg is too slow to build electron

@teutat3s
Copy link
Member Author

teutat3s commented Apr 5, 2024

Ofborg is too slow to build electron

It took 3h on my AMD machine 😅

@teutat3s
Copy link
Member Author

teutat3s commented Apr 6, 2024

@yu-re-ka ready for review. Anything missing here from your perspective?

@teutat3s teutat3s added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Apr 7, 2024
@drupol drupol merged commit c30e9aa into NixOS:release-23.11 Apr 7, 2024
@teutat3s teutat3s deleted the backport-295672-to-release-23.11 branch April 7, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants