awsbck: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 19:39:27 -08:00
parent 878830c537
commit 5e3f42b693
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 1 additions and 7 deletions

View File

@ -1,8 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
@ -18,8 +16,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-dMXaIFc0e6PMYiQrokQoUc1xAVCccE92WzM2fl7tOBQ=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
# tests run in CI on the source repo
doCheck = false;

View File

@ -969,9 +969,7 @@ with pkgs;
auditwheel = with python3Packages; toPythonApplication auditwheel;
awsbck = callPackage ../tools/backup/awsbck {
inherit (darwin.apple_sdk.frameworks) Security;
};
awsbck = callPackage ../tools/backup/awsbck { };
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };