argocd: fix build on darwin
This commit is contained in:
parent
5ea0235ba9
commit
33454dafa2
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, packr }:
|
{ stdenv, buildGoModule, fetchFromGitHub, packr, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "argocd";
|
pname = "argocd";
|
||||||
|
@ -16,6 +16,8 @@ buildGoModule rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ packr ];
|
nativeBuildInputs = [ packr ];
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
patches = [ ./use-go-module.patch ];
|
patches = [ ./use-go-module.patch ];
|
||||||
|
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
|
@ -31,7 +33,7 @@ buildGoModule rec {
|
||||||
packr
|
packr
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes";
|
description = "Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes";
|
||||||
homepage = "https://github.com/argoproj/argo";
|
homepage = "https://github.com/argoproj/argo";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
|
|
@ -18430,7 +18430,9 @@ in
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
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 { };
|
ario = callPackage ../applications/audio/ario { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue