kubernetes-helm: fix build on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "helm";
|
||||
@@ -16,6 +16,9 @@ buildGoModule rec {
|
||||
buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.version=v${version}" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
postInstall = ''
|
||||
$out/bin/helm completion bash > helm.bash
|
||||
$out/bin/helm completion zsh > helm.zsh
|
||||
|
||||
Reference in New Issue
Block a user