Unverified Commit 5e3f42b6 authored by Theodore Ni's avatar Theodore Ni
Browse files

awsbck: use new Darwin SDK pattern

parent 878830c5
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
{ 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;

+1 −3
Original line number Diff line number Diff line
@@ -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 { };