git-cliff: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 23:56:47 -08:00
parent 171c7bc94a
commit b7cc513694
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 1 additions and 9 deletions

View File

@ -2,8 +2,6 @@
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
, SystemConfiguration
, installShellFiles
}:
@ -23,10 +21,6 @@ rustPlatform.buildRustPackage rec {
# attempts to run the program on .git in src which is not deterministic
doCheck = false;
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Security SystemConfiguration
];
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''

View File

@ -1231,9 +1231,7 @@ with pkgs;
git-cinnabar = callPackage ../applications/version-management/git-cinnabar { };
git-cliff = callPackage ../applications/version-management/git-cliff {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
git-cliff = callPackage ../applications/version-management/git-cliff { };
git-credential-keepassxc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-credential-keepassxc {
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;