summary refs log tree commit diff
path: root/pkgs/development/tools/the-way
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-07-31 08:00:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-07-31 08:00:00 -0500
commitd99c48fc41a712e6a3dae8e975c2d5eb1c84313b (patch)
tree9ea67ef56125b73939dbc969758e374ab02975b9 /pkgs/development/tools/the-way
parent88e7bb10a57afaf9627e99103f37cd2090a14adb (diff)
downloadnixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.tar
nixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.tar.gz
nixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.tar.bz2
nixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.tar.lz
nixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.tar.xz
nixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.tar.zst
nixpkgs-d99c48fc41a712e6a3dae8e975c2d5eb1c84313b.zip
the-way: fix build on darwin
Diffstat (limited to 'pkgs/development/tools/the-way')
-rw-r--r--pkgs/development/tools/the-way/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/the-way/default.nix b/pkgs/development/tools/the-way/default.nix
index 5a3bdc7b985..a41c7283b0f 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;