summary refs log tree commit diff
path: root/pkgs/development/tools/kustomize
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:38:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 05:38:00 -0500
commite52210e014d1dbc0d4b4052308818085904cfabb (patch)
treeb052c07d4729bba6ecf7f61e0309a09adac49d1c /pkgs/development/tools/kustomize
parentcd50659071732ec6217a7c678784965f176c9c73 (diff)
downloadnixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.tar
nixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.tar.gz
nixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.tar.bz2
nixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.tar.lz
nixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.tar.xz
nixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.tar.zst
nixpkgs-e52210e014d1dbc0d4b4052308818085904cfabb.zip
kustomize: fix build on darwin
Diffstat (limited to 'pkgs/development/tools/kustomize')
-rw-r--r--pkgs/development/tools/kustomize/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/kustomize/default.nix b/pkgs/development/tools/kustomize/default.nix
index e60181e9bc4..ce173e89a2c 100644
--- a/pkgs/development/tools/kustomize/default.nix
+++ b/pkgs/development/tools/kustomize/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildGoModule, fetchFromGitHub, tree }:
+{ stdenv, buildGoModule, fetchFromGitHub, Security }:
 
 buildGoModule rec {
   pname = "kustomize";
@@ -25,7 +25,9 @@ buildGoModule rec {
 
   modSha256 = "1bas6al14ck0d2ccb4235426a5hldqsm0nf8vi76chz4nahzb71g";
 
-  meta = with lib; {
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+  meta = with stdenv.lib; {
     description = "Customization of kubernetes YAML configurations";
     longDescription = ''
       kustomize lets you customize raw, template-free YAML files for