ripgrep: switch to apple-sdk_11

This commit is contained in:
zowoq
2024-11-05 10:46:53 +10:00
parent dbcea0828a
commit 8e8f6c00e8
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
, rustPlatform
, installShellFiles
, pkg-config
, Security
, apple-sdk_11
, withPCRE2 ? true
, pcre2
}:
@@ -28,7 +28,7 @@ in rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ]
++ lib.optional withPCRE2 pkg-config;
buildInputs = lib.optional withPCRE2 pcre2
++ lib.optional stdenv.hostPlatform.isDarwin Security;
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
buildFeatures = lib.optional withPCRE2 "pcre2";
+1 -3
View File
@@ -8072,9 +8072,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
ripgrep = callPackage ../tools/text/ripgrep {
inherit (darwin.apple_sdk.frameworks) Security;
};
ripgrep = callPackage ../tools/text/ripgrep { };
ripgrep-all = callPackage ../tools/text/ripgrep-all {
inherit (darwin.apple_sdk.frameworks) Security;