mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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 {
|
||||
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;
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user