xsv: Pass Security framework from all-packages

This commit is contained in:
Daniel Sandbecker 2018-11-21 20:02:14 +01:00
parent b8fbaebf08
commit fcac08f565
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgs }:
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
name = "xsv-${version}";
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6";
buildInputs = stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security;
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
description = "A fast CSV toolkit written in Rust";

View file

@ -6341,7 +6341,9 @@ with pkgs;
xsel = callPackage ../tools/misc/xsel { };
xsv = callPackage ../tools/text/xsv { };
xsv = callPackage ../tools/text/xsv {
inherit (darwin.apple_sdk.frameworks) Security;
};
xtreemfs = callPackage ../tools/filesystems/xtreemfs {
boost = boost165;