Skip to content

Commit

Permalink
git-credential-keepassxc: use new Darwin SDK pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
tjni committed Nov 13, 2024
1 parent 1641c8d commit 15e42a2
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 @@ -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 { };

Expand Down

0 comments on commit 15e42a2

Please sign in to comment.