kcli: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:30:00 -05:00
parent 618075428b
commit a39d49e990
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "kcli";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "1wcqh3306q9wxb6pnl8cpk73vmy36bjv2gil03j7j4pajs1f2lwn";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "." ];
meta = with stdenv.lib; {

View file

@ -26375,7 +26375,9 @@ in
sentencepiece = callPackage ../development/libraries/sentencepiece {};
kcli = callPackage ../development/tools/kcli {};
kcli = callPackage ../development/tools/kcli {
inherit (darwin.apple_sdk.frameworks) Security;
};
unstick = callPackage ../os-specific/linux/unstick {};