-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "electron_25: eol" #272658
Revert "electron_25: eol" #272658
Conversation
This reverts commit 9652f98.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is garbage. We must stop doing this. Just because something is EOL we cannot gate all the people not using it and requiring them to buy very good PCs.
You are entirely ignoring that we did not remove electron-bin 25.x from the tree. The user can simply opt in to using the insecure electron 25 bin package using nixpkgs.config.permittedInsecurePackages
, which the evalution failure message will spit out a snippet for you on how to do that.
Besides that, it should be a motivation to interact with bitwarden upstream to get their electron dependency updated.
When we added electron built from source, it was already controversial if we should add so many expensive hydra jobs, and then we got the green light based on only having the supported (meaning the last 3) versions built in hydra. We can not build 6+ chromium derivations for each staging cycle, especially on aarch64-linux this will kill hydra and even worse backfire into not being able to have Electron built from source at all.
The Electron 26 update was reverted because it caused an issue bitwarden/clients#6560 I've asked if there is some progress we can follow bitwarden/clients#6573 (comment)
but since then we removed the chromium dev/beta variants. Can't hydra hold this extra package for a month longer? Having to rely on binary packages because of that is not a resolution I want to accept. |
Thank you for looking into the upstream issues.
The chromium dev/beta variants were never built by hydra, so removing these variants does not reduce load on hydra. If you can get a confirmation from one of the people who are able to judge the Hydra capacity, and with the statement that the intention is not to keep around old electron releases around forever, I will retract my veto from adding back the source-built derivation for electron_25, however I still think using the electron 25 package (both bin and source) should throw at least an eval warning at users.
I'm totally on the same side here as not wanting to have binary packages on my system was the original motivation for packaging electron from source. I just disagree on how this should be achieved in this specific case. In the best case, a NixOS+bitwarden user would use the ability to build Electron with their own patchsets to contribute a fix for the underlying issue, and make it possible to run bitwarden using the latest Electron versions. |
Has anyone tried running Bitwarden under |
This reverts commit 9652f98.
Description of changes
Currently testing locally. This revives the electron desktop application. @dotlambda
Also see this thread #271677 (comment)
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.