You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm the Nixpkgs maintainer for stoat-desktop together with @RossSmyth.
Context — Nixpkgs Electron 38 removal (source-built)
A nixpkgs issue was opened today tracking the planned removal of the source-built electron_38 package, with the binary variant additionally being marked as insecure, in approximately 7 days. Several apps are affected, and stoat-desktop is one of them.
Once that change lands, building stoat-desktop from Nixpkgs will be broken for any user.
Request
Would it be possible to bump the Electron dependency to a version that is still actively maintained and packaged in Nixpkgs — ideally Electron 33 or newer (the current stable series)? This would unblock the Nixpkgs package before the 7-day deadline.
This also connects to issue #182, which requests native Wayland support. Electron 20+ ships with Ozone/Wayland support behind the --ozone-platform=wayland flag, and from Electron 28 onwards it can be enabled by default. Bumping Electron would therefore address two concerns at once:
The Nixpkgs stoat-desktop package currently pins electron_38; once upstream ships a release on a supported Electron version I can update the pin on my end immediately.
If there are any breaking API changes between Electron 38 and the target version that need work, I'm happy to help test a pre-release build on NixOS/Wayland.
Thanks for maintaining stoat-desktop! Let me know if there's anything I can do to help move this forward.
EDIT: One note specific to Nix packaging:stoat-desktop includes update-electron-app as a runtime dependency, which handles automatic Electron updates for most end users. However, this mechanism is bypassed entirely in the Nixpkgs package, the build wraps the system-provided electron binary and ignores the auto-updater. This means the version pinned in package.json is what actually determines which Electron Nix users run, making the bump necessary even though other distribution channels self-heal automatically.
Describe your feature
Hi! I'm the Nixpkgs maintainer for
stoat-desktoptogether with @RossSmyth.Context — Nixpkgs Electron 38 removal (source-built)
A nixpkgs issue was opened today tracking the planned removal of the source-built
electron_38package, with the binary variant additionally being marked as insecure, in approximately 7 days. Several apps are affected, andstoat-desktopis one of them.Once that change lands, building
stoat-desktopfrom Nixpkgs will be broken for any user.Request
Would it be possible to bump the Electron dependency to a version that is still actively maintained and packaged in Nixpkgs — ideally Electron 33 or newer (the current stable series)? This would unblock the Nixpkgs package before the 7-day deadline.
Bonus: Native Wayland support (related to #182)
This also connects to issue #182, which requests native Wayland support. Electron 20+ ships with Ozone/Wayland support behind the
--ozone-platform=waylandflag, and from Electron 28 onwards it can be enabled by default. Bumping Electron would therefore address two concerns at once:Note
stoat-desktoppackage currently pinselectron_38; once upstream ships a release on a supported Electron version I can update the pin on my end immediately.Thanks for maintaining stoat-desktop! Let me know if there's anything I can do to help move this forward.
EDIT: One note specific to Nix packaging:
stoat-desktopincludesupdate-electron-appas a runtime dependency, which handles automatic Electron updates for most end users. However, this mechanism is bypassed entirely in the Nixpkgs package, the build wraps the system-providedelectronbinary and ignores the auto-updater. This means the version pinned inpackage.jsonis what actually determines which Electron Nix users run, making the bump necessary even though other distribution channels self-heal automatically.— @v3rm1n0 and @RossSmyth (Nixpkgs maintainers for
stoat-desktop)