Skip to content

Comments

electron: support v29 binary option#296218

Merged
yu-re-ka merged 1 commit intoNixOS:masterfrom
mattpolzin:electron-29-binary
Mar 16, 2024
Merged

electron: support v29 binary option#296218
yu-re-ka merged 1 commit intoNixOS:masterfrom
mattpolzin:electron-29-binary

Conversation

@mattpolzin
Copy link
Contributor

@mattpolzin mattpolzin commented Mar 15, 2024

Description of changes

Add binary support for newest Electron version. Electron binary support is important for Darwin systems currently.

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.

@mattpolzin
Copy link
Contributor Author

mattpolzin commented Mar 15, 2024

I built and tested this on both Darwin architectures by way of Bruno which requires Electron and happens to be part of my current nix-darwin systems.

@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: 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. labels Mar 15, 2024
@mattpolzin
Copy link
Contributor Author

Result of nixpkgs-review pr 296218 run on x86_64-darwin 1

1 package failed to build:
  • podman-desktop
12 packages built:
  • bruno
  • camunda-modeler
  • drawio
  • electron
  • freetube
  • nix-tour
  • pritunl-client
  • r2modman
  • uivonim
  • vieb
  • youtube-music
  • ytdownloader

The failing package (podman-desktop) already failed to build just prior to the introduction of Electron v29, so that failure is unrelated to the update.

@mattpolzin
Copy link
Contributor Author

@yu-re-ka would you be interested in reviewing this PR?

Copy link
Contributor

@yu-re-ka yu-re-ka left a comment

Choose a reason for hiding this comment

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

The latest version is 29.1.4 not 29.0.0

@mattpolzin
Copy link
Contributor Author

The latest version is 29.1.4

Ah, thanks!

@mattpolzin
Copy link
Contributor Author

Result of nixpkgs-review pr 296218 run on x86_64-darwin 1

1 package failed to build:
  • podman-desktop
12 packages built:
  • bruno
  • camunda-modeler
  • drawio
  • electron
  • freetube
  • nix-tour
  • pritunl-client
  • r2modman
  • uivonim
  • vieb
  • youtube-music
  • ytdownloader

@mattpolzin mattpolzin requested a review from yu-re-ka March 15, 2024 23:08
@yu-re-ka yu-re-ka merged commit 428564f into NixOS:master Mar 16, 2024
@mattpolzin mattpolzin deleted the electron-29-binary branch March 16, 2024 16:22
@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2024

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

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

git fetch origin release-23.11
git worktree add -d .worktree/backport-296218-to-release-23.11 origin/release-23.11
cd .worktree/backport-296218-to-release-23.11
git switch --create backport-296218-to-release-23.11
git cherry-pick -x 9582ebf3c48c740544e42fceac71c2af10838a13

teutat3s pushed a commit to teutat3s/nixpkgs that referenced this pull request Apr 3, 2024
zeme-wana pushed a commit to input-output-hk/nixpkgs that referenced this pull request May 8, 2024
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 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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants