mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 17:28:33 +02:00
fix: ollision between vscode & vscode-insider - /lib/vscode/chrome_crashpad_handler
This commit is contained in:
@@ -112,6 +112,21 @@
|
||||
git-lfs # used by huggingface models
|
||||
|
||||
devenv.packages."${pkgs.system}".devenv
|
||||
|
||||
# the vscode insiders is designed to run alongside the main build,
|
||||
# with a separate code-insiders command and a different config path
|
||||
#
|
||||
# TODO install vscode into systemPackages to avoid binary collision error temporarily
|
||||
# has collision between vscode & vscode-insider - /lib/vscode/chrome_crashpad_handler
|
||||
((pkgs.vscode.override { isInsiders = true; }).overrideAttrs (oldAttrs: {
|
||||
src = (builtins.fetchTarball {
|
||||
url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
|
||||
# you need to update this sha256 every time you update vscode insiders
|
||||
# the latest sha256 is printed in the error message of `sudo nixos-rebuild switch`
|
||||
sha256 = "sha256:1f996x5i85zf0hpd7jx18zdqdp9nhxhf6zn83ai0njphz1dj354p";
|
||||
});
|
||||
version = "latest";
|
||||
}))
|
||||
];
|
||||
|
||||
# replace default editor with neovim
|
||||
|
||||
Reference in New Issue
Block a user