diff --git a/pkgs/tools/misc/apkeep/default.nix b/pkgs/tools/misc/apkeep/default.nix index 41e6e32b83107ed..53e49cc02ca2ca2 100644 --- a/pkgs/tools/misc/apkeep/default.nix +++ b/pkgs/tools/misc/apkeep/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchCrate, rustPlatform, openssl, pkg-config }: +{ lib, stdenv, fetchCrate, rustPlatform, openssl, pkg-config, Security }: rustPlatform.buildRustPackage rec { pname = "apkeep"; @@ -12,7 +12,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-YFs2AOMGp0WNrceK14AnigZdJl+UsQdUchpxaI7HSXw="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ]; + + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; meta = with lib; { description = "A command-line tool for downloading APK files from various sources"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0a685415f414820..b702c95314e49e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23812,7 +23812,9 @@ with pkgs; apache-directory-studio = callPackage ../applications/networking/apache-directory-studio {}; - apkeep = callPackage ../tools/misc/apkeep { }; + apkeep = callPackage ../tools/misc/apkeep { + inherit (darwin.apple_sdk.frameworks) Security; + }; apngasm = callPackage ../applications/graphics/apngasm {}; apngasm_2 = callPackage ../applications/graphics/apngasm/2.nix {};