kustomize: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:38:00 -05:00
parent cd50659071
commit e52210e014
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -10510,7 +10510,9 @@ in
kubie = callPackage ../development/tools/kubie { };
kustomize = callPackage ../development/tools/kustomize { };
kustomize = callPackage ../development/tools/kustomize {
inherit (darwin.apple_sdk.frameworks) Security;
};
ktlint = callPackage ../development/tools/ktlint { };