argocd: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:50:00 -05:00
parent 5ea0235ba9
commit 33454dafa2
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, packr }:
{ stdenv, buildGoModule, fetchFromGitHub, packr, Security }:
buildGoModule rec {
pname = "argocd";
@ -16,6 +16,8 @@ buildGoModule rec {
nativeBuildInputs = [ packr ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
patches = [ ./use-go-module.patch ];
buildFlagsArray = ''
@ -31,7 +33,7 @@ buildGoModule rec {
packr
'';
meta = with lib; {
meta = with stdenv.lib; {
description = "Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes";
homepage = "https://github.com/argoproj/argo";
license = licenses.asl20;

View File

@ -18430,7 +18430,9 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
argocd = callPackage ../applications/networking/cluster/argocd { };
argocd = callPackage ../applications/networking/cluster/argocd {
inherit (darwin.apple_sdk.frameworks) Security;
};
ario = callPackage ../applications/audio/ario { };