summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/vscode/vscodium.nix
diff options
context:
space:
mode:
authorMorgan Wolfe <corp@m0rg.dev>2023-05-29 13:24:02 -0700
committerMorgan Wolfe <corp@m0rg.dev>2023-05-29 13:24:02 -0700
commit8769a90f90ed8ad74dfbc3f7702f50279a76cc72 (patch)
tree43e646e4587bc781d70718d47fb0a195f0e415f8 /pkgs/applications/editors/vscode/vscodium.nix
parent0ad8dd62975cb44ed2f5d8a122f756529798bec5 (diff)
vscode: disable ripgrep patching on macOS
useVSCodeRipgrep = false interferes with macOS 13's notarization enforcement and doesn't allow the app to start. Setting it to stdenv.isDarwin by default fixes the package for general use while preserving the option to patch ripgrep on older versions of macOS if required by someone's particular use case.
Diffstat (limited to 'pkgs/applications/editors/vscode/vscodium.nix')
-rw-r--r--pkgs/applications/editors/vscode/vscodium.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix
index 1dca2081b0a8..6d9ac6566372 100644
--- a/pkgs/applications/editors/vscode/vscodium.nix
+++ b/pkgs/applications/editors/vscode/vscodium.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, callPackage, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? false }:
+{ lib, stdenv, callPackage, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? stdenv.isDarwin }:
let
inherit (stdenv.hostPlatform) system;