Commit graph

46 commits

Author SHA1 Message Date
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
Pavel Shirshov ecf4ca4c23 vscode: save as root fixed 2021-09-15 19:17:21 +01:00
Naïm Favier a75326417d
vscode,vscodium: fix moving files to the trash
Put gio in PATH so that VSCode is able to move files to the trash.
2021-09-03 17:36:36 +02:00
Amanda Cameron cf427857a5 vscode: Fix vscode-with-extensions with #70486 2021-08-11 15:41:51 +09:00
Matthew Leach 7f8828230f vscode: Add arm64-darwin support
Download and extract the prebuilt arm64-darwin archive.
2021-07-11 21:51:17 +01:00
Florian Beeres 92f9f2fe11 vscode: fix source name
This commit fixes various long standing issues with the handling of
executable names in the source archive. Depending on whether you install
code or codium the executables are named differently. This commit let's
us customize the source exe name in the generic VSCode derivation, but
keeps the generated executableName intact.
2021-06-24 13:54:37 +02:00
Patrick Hilhorst 9674711a57
vscod{e,ium}: set passthru.updateScript 2021-05-24 21:46:44 +02:00
Thirst Man 3a3543edd4
vscode: fix symlink to executable (#123811)
Co-authored-by: Patrick Hilhorst <git@hilhorst.be>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-23 17:54:50 +02:00
Jonathan Ringer a060b84b32 vscod{e,ium}-fhs: add top-level aliases, add description 2021-05-02 13:38:52 -07:00
Jonathan Ringer 9bd292c929 vscod{e,ium}: Add fhs passthru 2021-05-02 13:38:52 -07:00
Jörg Thalheim 7e45a4067f
vscode: nixpkgs-hammering suggestions 2021-04-14 14:50:46 +02:00
Jan Tojnar 0136206b12
Merge branch 'master' into staging-next 2021-03-18 13:35:59 +01:00
Florian Klink 510171f2b6 vscode*: add libxshmfence to buildInputs
Like recent chrom[e,ium], Electron >= 12 applications need libxshmfence.

vscode is preparing to switch to electron 12.0.0 (https://github.com/microsoft/vscode/tree/electron-12.x.y).

This introduces libxshmfence to the buildInputs of generic.nix, allowing
custom builds to reuse the same generic Nix. We'll also need this code
as soon as a release with Electron 12.x is out.
2021-03-16 22:11:05 +01:00
Ben Siraphob 127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Manuel Bärenz 10b3773db0 vscode/vscodium: Add integration test 2021-02-08 13:59:37 +01:00
Vincent Cui a0f0927013 vscode: fix opening files with pcmanfm 2020-11-24 19:00:54 +01:00
Lana Black 0d3136af48 vscode: add libdbusmenu dependency. 2020-10-11 12:58:44 +00:00
Florian Klink 789749598a vscode: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
2020-08-13 20:51:40 +02:00
El-Hussein Abdelraouf 148bf83cee
vscode: add %U to exec command of the desktop item (#88623) 2020-06-07 13:15:24 -04:00
Joe 8da4167303
vscode: remove unused option (#87703)
The option "--skip-getting-started" no longer exists in vscode and causes files in "$@" to not be opened.
Message from stdout: "Warning: 'skip-getting-started' is not in the list of known options, but still passed to Electron/Chromium."
"--skip-getting-started" being removed: 6a8b201c8a
2020-05-12 21:33:42 -04:00
worldofpeace 0bb661d512 vscode: Don't hardcode icon
This also allows people to use a vscode
icon that is shipped with their theme. (provided it is called code)

Fixes #83846
2020-04-01 00:35:01 -04:00
Domen Kožar be80721e74
vscode: fix build on darwin 2020-03-12 12:01:12 +01:00
Domen Kožar 40d7ce7828
vscode: specify runtimeDependencies instead of LD_LIBRARY_PATH
This avoids glibc verions mismatches in vscode terminal, as
LD_LIBRARY_PATH leaks into terminal and break with user installed
executables.
2020-03-04 11:55:41 +01:00
Amanda Cameron 317a011e5e vscode: Make it so that it places the .app in /Applications on macOS 2019-10-05 14:54:02 -04:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Stanislas e4b146b125 vscodium: init at 1.33.1 (#60423) 2019-05-21 14:17:00 -04:00
Renamed from pkgs/applications/editors/vscode/default.nix (Browse further)