diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 04:50:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 04:50:00 -0500 |
commit | 33454dafa225bb5ca0b9ef66770fd1ae4f68115f (patch) | |
tree | 05cb9fca5abc7ac6bdb44f060d57dd942566c305 /pkgs/applications | |
parent | 5ea0235ba9d44ca95dabaf436e677040566ac7ec (diff) | |
download | nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.tar nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.tar.gz nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.tar.bz2 nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.tar.lz nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.tar.xz nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.tar.zst nixlib-33454dafa225bb5ca0b9ef66770fd1ae4f68115f.zip |
argocd: fix build on darwin
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/cluster/argocd/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/argocd/default.nix b/pkgs/applications/networking/cluster/argocd/default.nix index 7f9ebda93c0a..51635292fa13 100644 --- a/pkgs/applications/networking/cluster/argocd/default.nix +++ b/pkgs/applications/networking/cluster/argocd/default.nix @@ -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; |