Skip to content

Commit

Permalink
git-cliff: use new Darwin SDK pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
tjni committed Nov 11, 2024
1 parent e1980ee commit bcacfd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions pkgs/applications/version-management/git-cliff/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
, SystemConfiguration
, installShellFiles
}:

Expand All @@ -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) ''
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-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;
Expand Down

0 comments on commit bcacfd3

Please sign in to comment.