about summary refs log tree commit diff
path: root/pkgs/tools/misc/wagyu
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-18 23:16:58 +0200
committerGitHub <noreply@github.com>2021-05-18 17:16:58 -0400
commit1dbb8fa2be2ed390c08c6cca79bba7d414de2701 (patch)
treeac639afd606c161e6e4fd474588a8b41fa4a0fea /pkgs/tools/misc/wagyu
parent3ac820e157f882f886f20bd20d9a1b539e011303 (diff)
wagyu: fix darwin build (#123547)
Diffstat (limited to 'pkgs/tools/misc/wagyu')
-rw-r--r--pkgs/tools/misc/wagyu/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/misc/wagyu/default.nix b/pkgs/tools/misc/wagyu/default.nix
index 8ed952a82cebd..981d59e3aaf6d 100644
--- a/pkgs/tools/misc/wagyu/default.nix
+++ b/pkgs/tools/misc/wagyu/default.nix
@@ -1,4 +1,4 @@
-{ lib, rustPlatform, fetchFromGitHub }:
+{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
 
 rustPlatform.buildRustPackage rec {
   pname = "wagyu";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "16d1b3pamkg29nq80n6cbzc4zl9z3cgfvdxjkr2z4xrnzmkn1ysi";
 
+  buildInputs = lib.optional stdenv.isDarwin Security;
+
   meta = with lib; {
     description = "Rust library for generating cryptocurrency wallets";
     homepage = "https://github.com/ArgusHQ/wagyu";