mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
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 {
|
||||
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
|
||||
|
@ -20318,7 +20318,9 @@ in
|
||||
|
||||
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 { } ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user