Skip to content

Commit

Permalink
git-credential-keepassxc: use new Darwin SDK pattern (#355599)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaz authored Nov 14, 2024
2 parents c6fa405 + 15e42a2 commit 97a7f71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, DiskArbitration
, Foundation
, withNotification ? false
, withYubikey ? false
, withStrictCaller ? false
Expand All @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1229,9 +1229,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 { };

Expand Down

0 comments on commit 97a7f71

Please sign in to comment.