about summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorDaniel Sandbecker <daniels@users.noreply.github.com>2018-11-20 11:13:29 +0100
committerGitHub <noreply@github.com>2018-11-20 11:13:29 +0100
commitb8fbaebf0805399290253dd7a3dc96c66f6b1776 (patch)
tree73df9c835b2b8de5e3a999e655785f93d7406441 /pkgs/tools/text
parent7a9acea944d96de52f8c08faab75582af9f27a61 (diff)
downloadnixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.tar
nixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.tar.gz
nixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.tar.bz2
nixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.tar.lz
nixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.tar.xz
nixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.tar.zst
nixlib-b8fbaebf0805399290253dd7a3dc96c66f6b1776.zip
xsv: Add darwin.Security as dependency on MacOS
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/xsv/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/text/xsv/default.nix b/pkgs/tools/text/xsv/default.nix
index 960449cd0228..539ec9bd0403 100644
--- a/pkgs/tools/text/xsv/default.nix
+++ b/pkgs/tools/text/xsv/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, rustPlatform }:
+{ stdenv, fetchFromGitHub, rustPlatform, pkgs }:
 
 rustPlatform.buildRustPackage rec {
   name = "xsv-${version}";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6";
 
+  buildInputs = stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security;
+
   meta = with stdenv.lib; {
     description = "A fast CSV toolkit written in Rust";
     homepage = https://github.com/BurntSushi/xsv;