diff --git a/pkgs/development/tools/the-way/default.nix b/pkgs/development/tools/the-way/default.nix index 5a3bdc7b9859..a41c7283b0f8 100644 --- a/pkgs/development/tools/the-way/default.nix +++ b/pkgs/development/tools/the-way/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform }: +{ stdenv, fetchFromGitHub, rustPlatform, AppKit, Security }: rustPlatform.buildRustPackage rec { pname = "the-way"; @@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec { sha256 = "0h33jsai8gvfp0js06qa8cqpzfbjkd001kfj6p24d08ds2i00asx"; }; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ]; + cargoSha256 = "1r0mv1q1bz67zbxnd5qmji4svcbln8h5h0gysfddpn4dy9424fp3"; #checkFlags = "--test-threads=1"; doCheck = false; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 77b25f0ea598..71ee0dc0f7f4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3327,7 +3327,9 @@ in teamocil = callPackage ../tools/misc/teamocil { }; - the-way = callPackage ../development/tools/the-way { }; + the-way = callPackage ../development/tools/the-way { + inherit (darwin.apple_sdk.frameworks) AppKit Security; + }; tsm-client = callPackage ../tools/backup/tsm-client { jdk8 = null; }; tsm-client-withGui = callPackage ../tools/backup/tsm-client { };