git-credential-keepassxc: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-12 22:50:43 -08:00
parent 1641c8d303
commit 15e42a222f
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 1 additions and 8 deletions

View File

@ -1,9 +1,6 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, DiskArbitration
, Foundation
, withNotification ? false
, withYubikey ? false
, withStrictCaller ? false
@ -23,8 +20,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-jBUp0jes4wtr8cmqceEBb6noqGkJUHbIfYgWOw5KMF4=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ DiskArbitration Foundation ];
buildFeatures = []
++ lib.optional withNotification "notification"
++ lib.optional withYubikey "yubikey"

View File

@ -1231,9 +1231,7 @@ with pkgs;
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;
};
git-credential-keepassxc = callPackage ../applications/version-management/git-credential-keepassxc { };
git-credential-manager = callPackage ../applications/version-management/git-credential-manager { };