kubernetes-helm: fix build on darwin
This commit is contained in:
parent
378de230c1
commit
8e2dd1164f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
|
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "helm";
|
pname = "helm";
|
||||||
@ -16,6 +16,9 @@ buildGoModule rec {
|
|||||||
buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.version=v${version}" ];
|
buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.version=v${version}" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
$out/bin/helm completion bash > helm.bash
|
$out/bin/helm completion bash > helm.bash
|
||||||
$out/bin/helm completion zsh > helm.zsh
|
$out/bin/helm completion zsh > helm.zsh
|
||||||
|
@ -20318,7 +20318,9 @@ in
|
|||||||
|
|
||||||
linkerd = callPackage ../applications/networking/cluster/linkerd { };
|
linkerd = callPackage ../applications/networking/cluster/linkerd { };
|
||||||
|
|
||||||
kubernetes-helm = callPackage ../applications/networking/cluster/helm { };
|
kubernetes-helm = callPackage ../applications/networking/cluster/helm {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
kubetail = callPackage ../applications/networking/cluster/kubetail { } ;
|
kubetail = callPackage ../applications/networking/cluster/kubetail { } ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user