electron-fiddle: 0.32.6 -> 0.36.4, fix build and refactor#338158
Closed
TomaSajt wants to merge 1 commit intoNixOS:masterfrom
Closed
electron-fiddle: 0.32.6 -> 0.36.4, fix build and refactor#338158TomaSajt wants to merge 1 commit intoNixOS:masterfrom
TomaSajt wants to merge 1 commit intoNixOS:masterfrom
Conversation
FliegendeWurst
requested changes
Nov 1, 2024
Member
FliegendeWurst
left a comment
There was a problem hiding this comment.
Build fails
Running phase: configurePhase
no configure script, doing nothing
/build/source/electron-dist /build/source
/build/source
substitute(): ERROR: file 'node_modules/@electron/packager/dist/packager.js' does not exist
Contributor
Author
Looks like it broke because of #338093 |
1ec15e3 to
24b4347
Compare
FliegendeWurst
approved these changes
Nov 1, 2024
13 tasks
Contributor
|
Thanks @TomaSajt! I’m updating this (with co-authorship credit) at |
Contributor
Author
|
Okay! Thanks for picking it up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
electron_24has been EOL for a while now, soelectron-fiddlewas not being built.In this PR I force
@electron/forgeto use the latest version of electron for building by directly patching the node_modules directory instead of doing a lot of hashing logic, like previously.One weird thing is that upon first starting the app, Electron v24 will be selected by default.
That may be because of the old
releases.jsonbeing used.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.