mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
@ -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 New Issue
Block a user