kcli: fix build on darwin
This commit is contained in:
parent
618075428b
commit
a39d49e990
2 changed files with 6 additions and 2 deletions
|
@ -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; {
|
||||
|
|
|
@ -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 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue