diff --git a/pkgs/tools/misc/wagyu/default.nix b/pkgs/tools/misc/wagyu/default.nix index 8ed952a82ce..981d59e3aaf 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"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fcc8000ad3e..13d709aeeb4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9666,7 +9666,9 @@ in waf = callPackage ../development/tools/build-managers/waf { python = python3; }; wafHook = callPackage ../development/tools/build-managers/wafHook { }; - wagyu = callPackage ../tools/misc/wagyu { }; + wagyu = callPackage ../tools/misc/wagyu { + inherit (darwin.apple_sdk.frameworks) Security; + }; wakelan = callPackage ../tools/networking/wakelan { };