Unverified Commit 8769a90f authored by Morgan Wolfe's avatar Morgan Wolfe
Browse files

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.
parent 0ad8dd62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{ stdenv, lib, callPackage, fetchurl
, isInsiders ? false
, commandLineArgs ? ""
, useVSCodeRipgrep ? false
, useVSCodeRipgrep ? stdenv.isDarwin
}:

let
+1 −1
Original line number Diff line number Diff line
{ lib, stdenv, callPackage, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? false }:
{ lib, stdenv, callPackage, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? stdenv.isDarwin }:

let
  inherit (stdenv.hostPlatform) system;