diff options
author | Joel <joel@joel.tokyo> | 2021-11-11 14:45:11 +1000 |
---|---|---|
committer | Joel <joel@joel.tokyo> | 2021-11-13 20:30:18 +1000 |
commit | c04d246eecb201e59b147621fce45d439696a314 (patch) | |
tree | 04ac1688bc5090444f264413ee0745ddcf8bb861 /pkgs/tools/misc/apkeep | |
parent | 541a551109bd3f63c4cd5088d66d62356fa7a752 (diff) |
apkeep: fix darwin build
Diffstat (limited to 'pkgs/tools/misc/apkeep')
-rw-r--r-- | pkgs/tools/misc/apkeep/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/apkeep/default.nix b/pkgs/tools/misc/apkeep/default.nix index 41e6e32b83107..53e49cc02ca2c 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"; |