From 512e87a0f8dc7a1dc7605d627c825c56c2360b85 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:39:34 -0800 Subject: [PATCH] cloak: use new Darwin SDK pattern --- pkgs/applications/misc/cloak/default.nix | 4 +--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/cloak/default.nix b/pkgs/applications/misc/cloak/default.nix index 61f307edd555..3857e458864a 100644 --- a/pkgs/applications/misc/cloak/default.nix +++ b/pkgs/applications/misc/cloak/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }: +{ lib, rustPlatform, fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "cloak"; @@ -13,8 +13,6 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-m11A5fcJzWoDZglrr2Es1V5ZJNepEkGeIRVhexJ7jws="; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; - meta = with lib; { homepage = "https://github.com/evansmurithi/cloak"; description = "Command-line OTP authenticator application"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 829d07a7be2a..1b8681f5cc03 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -290,9 +290,7 @@ with pkgs; stdenv = clangStdenv; }; - cloak = callPackage ../applications/misc/cloak { - inherit (darwin.apple_sdk.frameworks) Security; - }; + cloak = callPackage ../applications/misc/cloak { }; cotp = callPackage ../applications/misc/cotp { inherit (darwin.apple_sdk.frameworks) AppKit;