-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
electron_29-bin: mark as insecure because it's EOL, electron-source.electron_29: remove as it's EOL #335850
Conversation
Not sure I fully understood what I should do. |
I'll take a look at bumping webcord-vencord's electron version - if upstream supports it. |
If this PR gets merged as is, the following would happen: # nix-build -A antares
error:
… while evaluating 'strict' to select 'drvPath' on it
at /builtin/derivation.nix:1:552:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:1:208:
(stack trace truncated; use '--show-trace' to show the full trace)
error: Package ‘electron-29.4.5’ in ./pkgs/development/tools/electron/binary/generic.nix:36 is marked as insecure, refusing to evaluate.
Known issues:
- Electron version 29.4.5 is EOL
You can install it anyway by allowing this package, using the
following methods:
a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=1
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
b) for `nixos-rebuild` you can add ‘electron-29.4.5’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"electron-29.4.5"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘electron-29.4.5’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"electron-29.4.5"
];
}
That would be great and exactly what I wanted to get across without actually spelling it out. Sometimes it's as simple as keeping the current version and bumping electron, other times it may require upstream to release a newer version. |
#335924 |
Lets wait a day or two until we have reviewed and merged the linked PRs. We are in no rush here. |
We are a bit stuck with #330137, so some help is appreciated. |
38f1df6
to
fd91115
Compare
Have a working update for bitwarden-desktop in #337164. |
This should be backported to 24.05 after #336018, right? |
Yes, should get backported. @ofborg eval |
@emilylange my pr for antares (#335924) is ready for review ! |
Backports in progress:
Seems unlikely we’ll get more PRs beyond the |
I can pick one or two programs to update if maintainers don't respond. |
That’d be nice :) But if there’s no active maintainers for a package we’ll probably run into the same situation with them again next time an Electron version goes EOL, so if you don’t want to adopt any of them and no maintainer appears to sort them out it might be better in the long run to let nature take its course. (Hypocritical of me to say given the amount of time I’ve spent patching abandoned packages for newer FFmpegs lately, though…) |
Seeing no maintainers responded, I'll pick up Kuro seems to work with electron_30 just fine (despite upstream still providing electron 22, may be a problem in the future). teams-for-linux needs testing. This should not be considered a blocker though, as I might need a day to create the PRs. |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-24.05
git worktree add -d .worktree/backport-335850-to-release-24.05 origin/release-24.05
cd .worktree/backport-335850-to-release-24.05
git switch --create backport-335850-to-release-24.05
git cherry-pick -x 39f4f0877bcbd5c7ad569e203e1b8d6feaa683d6 fd911150a24ccb9ec4594bba2f9c4062bc23d990 |
I’ll handle the backport. |
I got an open PR out for |
Description of changes
electron_29
will be EOL tomorrow (2024-08-20), as per https://www.electronjs.org/docs/latest/tutorial/electron-timelines.Packages that depend on
electron_29
and as such will require the user to opt-into theknownVulnerabilities
.antares
: @hatch01 antares: 0.7.24 -> 0.7.28 #335924bitwarden-desktop
: @amarshall bitwarden-desktop: 2024.6.4 -> 2024.8.0 #337164breitbandmessung
: @B4dM4nheroic
: @aidalgol Heroic Games Launcher: 2.14.1 -> 2.15.1 #335737kuro
: @LostAttractormorgen
: @justanotherariel morgen: electron_29 -> electron_30 #336026passky-desktop
: @akkesmteams-for-linux
: @muscaln @qjoly @chvp teams-for-linux: 1.4.27 -> 1.9.5 #337868webcord-vencord
: @FlafyDev @NotAShelf webcord-vencord: electron_29 -> electron_30 #335876Related: #333907
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/
)