Skip to content

Commit

Permalink
Pin all chromium apps like vscode to stable channel
Browse files Browse the repository at this point in the history
Follow GH-776
  • Loading branch information
kachick committed Sep 8, 2024
1 parent bac93e8 commit 0837507
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@

firefox

# Don't use unstable channel. It frequently backported to stable channel
# - https://github.com/NixOS/nixpkgs/commits/nixos-24.05/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix
(signal-desktop.overrideAttrs (prev: {
preFixup =
prev.preFixup
Expand Down Expand Up @@ -208,7 +210,9 @@

# TODO: Consider using vscodium again
# TODO: Consider to drop the unuseful vscode until fixed the Wayland problems
(edge-pkgs.vscode.override (prev: {
# Don't use unstable channel. It frequently backported to stable channel
# - https://github.com/NixOS/nixpkgs/commits/nixos-24.05/pkgs/applications/editors/vscode/vscode.nix
(vscode.override (prev: {
# https://wiki.archlinux.org/title/Wayland#Electron
# https://github.com/NixOS/nixpkgs/blob/3f8b7310913d9e4805b7e20b2beabb27e333b31f/pkgs/applications/editors/vscode/generic.nix#L207-L214
commandLineArgs = (prev.commandLineArgs or [ ]) ++ [
Expand All @@ -221,8 +225,9 @@
];
}))

# Don't use latest chrome - See GH-776
# In the first place, it does not run even through it having crucial fixes
# Don't use unstable channel. It frequently backported to stable channel
# - https://github.com/NixOS/nixpkgs/commits/nixos-24.05/pkgs/by-name/go/google-chrome/package.nix
# - Actually unstable is/was broken. See GH-776
#
# if you changed hostname and chrome doesn't run, see https://askubuntu.com/questions/476918/google-chrome-wont-start-after-changing-hostname
# `rm -rf ~/.config/google-chrome/Singleton*`
Expand Down

0 comments on commit 0837507

Please sign in to comment.