From 410e3820cd0d274f30c23b322c8020d1463655cd Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 8 May 2023 21:19:31 +0800 Subject: [PATCH] vscodium: Fix darwin build https://hydra.nixos.org/build/219075106/nixlog/1 --- pkgs/applications/editors/vscode/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index baf801ca45d6..8f547534cabd 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -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 '';