vscodium: Fix darwin build

https://hydra.nixos.org/build/219075106/nixlog/1
This commit is contained in:
Bobby Rong 2023-05-08 21:19:31 +08:00
parent d9edc0e441
commit 410e3820cd
No known key found for this signature in database

View file

@ -135,7 +135,7 @@ let
# this fixes bundled ripgrep
chmod +x resources/app/node_modules/@vscode/ripgrep/bin/rg
'' + lib.optionalString (lib.versionOlder version "1.78.0") ''
'' + lib.optionalString (lib.versionOlder version "1.78.0" && stdenv.isLinux) ''
# see https://github.com/gentoo/gentoo/commit/4da5959
chmod +x resources/app/node_modules/node-pty/build/Release/spawn-helper
'';