fluxctl: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:02:00 -05:00
parent da93b5a367
commit c8359c42e0
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -20271,7 +20271,9 @@ in
k9s = callPackage ../applications/networking/cluster/k9s { }; k9s = callPackage ../applications/networking/cluster/k9s { };
fluxctl = callPackage ../applications/networking/cluster/fluxctl { }; fluxctl = callPackage ../applications/networking/cluster/fluxctl {
inherit (darwin.apple_sdk.frameworks) Security;
};
linkerd = callPackage ../applications/networking/cluster/linkerd { }; linkerd = callPackage ../applications/networking/cluster/linkerd { };