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.
This commit is contained in:
parent
0ad8dd6297
commit
8769a90f90
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, lib, callPackage, fetchurl
|
||||
, isInsiders ? false
|
||||
, commandLineArgs ? ""
|
||||
, useVSCodeRipgrep ? false
|
||||
, useVSCodeRipgrep ? stdenv.isDarwin
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue