about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/helm
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:35:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:35:00 -0500
commit8e2dd1164f38b67847d5e56a496fb1a2f302aacc (patch)
tree167f1cbf615400b1ef24465301e7c621e6801ee1 /pkgs/applications/networking/cluster/helm
parent378de230c169a3379223bd8ac21b63711829e463 (diff)
downloadnixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.tar
nixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.tar.gz
nixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.tar.bz2
nixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.tar.lz
nixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.tar.xz
nixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.tar.zst
nixlib-8e2dd1164f38b67847d5e56a496fb1a2f302aacc.zip
kubernetes-helm: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking/cluster/helm')
-rw-r--r--pkgs/applications/networking/cluster/helm/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix
index 88ca9b3da947..822df7656554 100644
--- a/pkgs/applications/networking/cluster/helm/default.nix
+++ b/pkgs/applications/networking/cluster/helm/default.nix
@@ -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