Commit Graph

76 Commits

Author SHA1 Message Date
Artturin
5eb0c82c61 vscode: run nixpkgs-fmt 2023-10-08 02:49:17 +03:00
Artturin
2afc244307 vscode: fix using the fhs with overrideAttrs
fixes
```nix
((pkgs.vscode.override { isInsiders = true; }).overrideAttrs (previousAttrs: {
  version = "latest";
  src = (pkgs.fetchurl {
    name = "VSCODE_insiders.tar.gz";
    url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
    sha256 = "sha256-XcDSCuEMnTq2D75X9sNmGkD+CfPoLRJki9cSDDOeUtc=";
  });
})).fhs
```

NOTE: sha256 isn't stable
2023-10-08 02:44:43 +03:00
Sandro Jäckel
73dca593c4
vscode: remove atomEnv 2023-10-03 16:37:23 +02:00
Robert Schütz
745de518cd asar: use buildNpmPackage 2023-08-26 20:27:43 -07:00
Anil Anar
1da5d6070c
vscode: fix GPU acceleration for X 2023-08-18 10:42:13 +02:00
BlankParticle
ed2f5f1829
fix(vscode): Add libsecrect as runtime dependency 2023-08-09 23:42:14 +05:30
Thibault Gagnaux
bb9e80b6f3
vscode: fix eval-breaking package outputs 2023-08-07 18:51:28 -05:00
Thibault Gagnaux
8dd10125a5
vscode: fix vscode-insiders on darwin 2023-08-07 18:43:42 -05:00
K900
754c7b7c02 vscode: 1.80.2 -> 1.81.0
libkrb5 is a new dependency.
2023-08-03 21:39:42 +03:00
Bobby Rong
2c38aefa2b
vscode: Fix icon name
Looking at official vscode *.deb packages, the icon are named as
vscde, vscode-insiders, etc. Let's follow that to make third-
party icon theme users happy.
2023-07-31 12:23:55 +08:00
Michael Hoang
bcc3da34b4 vscode: fix GPU acceleration not working
Fixes #243372
2023-07-27 19:58:15 +10:00
Michael Hoang
8bf8b8fd68 vscode: move rev and vscodeServer to derivation 2023-06-09 18:52:10 +10:00
K900
f902e5b602
Merge pull request #233369 from K900/cursed-vscode-encryption
vscode: fix decrypting credentials after update
2023-05-26 13:10:00 +03:00
K900
9e87ab2007 vscode: fix decrypting credentials after update 2023-05-22 10:51:46 +03:00
Michael Hoang
13b07c6139
vscode, vscodium: use Nixpkgs ripgrep by default 2023-05-22 00:29:22 +02:00
figsoda
98b9e41f61 pkgs: fix typos 2023-05-19 22:31:04 -04:00
K900
72ffc9994d vscode: clean up generic expression now that everything is 1.78 2023-05-16 21:33:37 +03:00
Bobby Rong
410e3820cd
vscodium: Fix darwin build
https://hydra.nixos.org/build/219075106/nixlog/1
2023-05-08 21:19:31 +08:00
K900
0d108189c7 vscode/generic: restore hack conditional on version 2023-05-05 00:45:31 +03:00
K900
e0d9930803 vscode: 1.77.3 -> 1.78.0 2023-05-05 00:42:43 +03:00
Atemu
24a513a87c tree-wide: do not depend on buildFHSEnvBubblewrap
It's the default now.
2023-04-16 10:15:15 +02:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Bobby Rong
8d74a58c8d
vscode: Fix missing executable permissions
The terminal does not open without this.

https://github.com/gentoo/gentoo/commit/4da5959
2023-02-05 11:29:28 +08:00
Artturi
9b57639919
Merge pull request #209510 from Artturin/splicefixes1 2023-01-09 19:43:38 +02:00
Artturin
d86a6778a4 vscode: fix makeWrapper/makeShellWrapper must be in nativeBuildInputs 2023-01-08 21:20:45 +02:00
Thiago Kenji Okada
16995949db
Merge pull request #197932 from thrifty-txt/fix/vscode-fhs-dotnet
vscode-fhs: add lttng-ust to FHS env
2023-01-08 15:20:45 +00:00
Sandro
c07d5c8743
Merge pull request #206923 from SuperSandro2000/vscode-fhs-etc-nixos 2022-12-25 20:37:29 +01:00
Sandro Jäckel
63754031ca
vscode-fhs: allow editing /etc/nixos 2022-12-19 22:36:38 +01:00
Jörg Thalheim
ad83b5e7c3 vscode: add missing wayland runtimeDependency
On wayland it tries to dlopen libwayland-cursor.so.1 and fails to start
if this library is not provided.
2022-12-18 13:25:38 +01:00
Ali Abdel-Qader
e51b3e39d7 vscode-fhs: add lttng-ust to FHS env
The Microsoft CSharp extension requires this library for the Razor
language server to run without patching.
2022-10-26 15:46:52 +00:00
Winter
b29b81e458 vscode: don't fixup on darwin
Editing the `code` binary within the app bundle causes the bundle's signature to be invalidated, which prevents launching starting with macOS Ventura, because VS Code is notarized.

See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information.
2022-10-22 22:13:28 -04:00
github-actions[bot]
886633ba43
Merge master into staging-next 2022-10-15 00:04:00 +00:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Paul Grandperrin
aeaeca819d NIXOS_OZONE_WL: fix wayland window decorations 2022-09-28 15:56:55 +02:00
SamLukeYes
2c4f8fca9a vscode: add commandLineArgs 2022-09-03 23:10:49 +08:00
Naïm Favier
81b9c712ce
wrapGAppsHook: rename argument to makeWrapper
...and pass it makeBinaryWrapper in all-packages.nix
2022-05-10 22:07:56 +02:00
Dominik Xaver Hörl
a2ee3ed3f2 vscode: use non-binary wrapper for wrapGAppsHook
The use of --add-flags in this derivation does not work with binary
    wrappers, which wrapGAppsHook uses since #164163.
2022-05-10 13:11:10 +02:00
Sandro Jäckel
2ca1c98617
vscode: fix auto encoding detection crashing editor window
Closes #152939
2022-04-16 08:35:55 +02:00
Sandro Jäckel
92fe27da60
vscode: move asar to nativeBuildInputs 2022-04-16 08:35:55 +02:00
Ilya Fedin
188743537d vscode: don't dump all the commands to a file
This is necessary due to cp -r ./* commands that copy this debug file
2022-03-15 19:39:26 +04:00
Ilya Fedin
8213bd8199 vscode: gtk2 is not a dependency 2022-03-15 00:23:25 +04:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Bobby Rong
0c618de480
vscode: 1.63.2 -> 1.64.0 2022-02-05 12:43:47 +08:00
Paul Grandperrin
5150255146 (vscode|vscodium)-fhs: fix missing desktop icon 2022-02-01 13:55:42 +01:00
Wout Mertens
b2eb5f62a7 wayland: enable ozone via $NIXOS_OZONE_WL
Chrome, Chromium, VSCode, Slack, Signal, Discord, element-desktop,
schildichat.

For the latter two, the feature flag useWayland was removed and a
wrapper script was provided.
2022-01-27 09:46:36 +01:00
Bobby Rong
521958cb8f
vscode: 1.62.3 -> 1.63.0 2021-12-09 18:25:57 +08:00
Kreyren
d1542854f6
vscode: quote variables (#142735) 2021-10-24 17:45:53 +02:00
Artturin
f40924a499 vscode: apply postPatch on linux only 2021-09-26 09:45:06 +09:00
Pavel Shirshov
d25215779e vscode: bundled ripgrep fixed 2021-09-16 16:32:14 +01:00