summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-12-28 15:00:44 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-12-28 15:07:38 +0100
commit9aadb6391de52eac0336eab7382185380340cf0a (patch)
treede09043c16506137c08daaf57c27a2041245820e /pkgs/applications
parent5a3c1eda46ef4b0bbd782d5b6443a0dd9263d094 (diff)
downloadnixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.tar
nixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.tar.gz
nixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.tar.bz2
nixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.tar.lz
nixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.tar.xz
nixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.tar.zst
nixpkgs-9aadb6391de52eac0336eab7382185380340cf0a.zip
taizen: fix darwin build
https://hydra.nixos.org/build/108557016
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/taizen/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/taizen/default.nix b/pkgs/applications/misc/taizen/default.nix
index ee516ac97aa..8d58c888748 100644
--- a/pkgs/applications/misc/taizen/default.nix
+++ b/pkgs/applications/misc/taizen/default.nix
@@ -1,4 +1,4 @@
-{ rustPlatform, lib, fetchFromGitHub, ncurses, openssl, pkgconfig }:
+{ rustPlatform, lib, fetchFromGitHub, ncurses, openssl, pkgconfig, Security, stdenv }:
 
 rustPlatform.buildRustPackage rec {
   pname = "taizen";
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
     sha256 = "09izgx7icvizskdy9kplk0am61p7550fsd0v42zcihq2vap2j92z";
   };
 
-  buildInputs = [ ncurses openssl ];
+  buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
   nativeBuildInputs = [ pkgconfig ];
 
   cargoSha256 = "0h8ybhb17pqhhfjcmq1l70kp8g1yyq38228lcf86byk3r2ar2rkg";