git-absorb: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 23:35:32 -08:00
parent 487201b5fc
commit 4551bd2dba
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "git-absorb";
@ -13,8 +13,6 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
cargoHash = "sha256-Y/0In33y4mVTaE9yoBZ/3tRWcsSKgGjTCSHdjScNEj0=";
postInstall = ''

View File

@ -1208,9 +1208,8 @@ with pkgs;
};
github-cli = gh;
git-absorb = callPackage ../applications/version-management/git-absorb {
inherit (darwin.apple_sdk.frameworks) Security;
};
git-absorb = callPackage ../applications/version-management/git-absorb { };
git-annex-metadata-gui = libsForQt5.callPackage ../applications/version-management/git-annex-metadata-gui {
inherit (python3Packages) buildPythonApplication pyqt5 git-annex-adapter;