1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

kubeval: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:33:00 -05:00
parent 6e26c88a24
commit dabed704c5
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, buildGoModule, makeWrapper }: { stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec { buildGoModule rec {
pname = "kubeval"; pname = "kubeval";
@ -13,7 +13,9 @@ buildGoModule rec {
modSha256 = "0y9x44y3bchi8xg0a6jmp2rmi8dybkl6qlywb6nj1viab1s8dd4y"; modSha256 = "0y9x44y3bchi8xg0a6jmp2rmi8dybkl6qlywb6nj1viab1s8dd4y";
meta = with lib; { buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Validate your Kubernetes configuration files"; description = "Validate your Kubernetes configuration files";
homepage = https://github.com/instrumenta/kubeval; homepage = https://github.com/instrumenta/kubeval;
license = licenses.asl20; license = licenses.asl20;

View file

@ -20290,7 +20290,9 @@ in
kubecfg = callPackage ../applications/networking/cluster/kubecfg { }; kubecfg = callPackage ../applications/networking/cluster/kubecfg { };
kubeval = callPackage ../applications/networking/cluster/kubeval { }; kubeval = callPackage ../applications/networking/cluster/kubeval {
inherit (darwin.apple_sdk.frameworks) Security;
};
kubeval-schema = callPackage ../applications/networking/cluster/kubeval/schema.nix { }; kubeval-schema = callPackage ../applications/networking/cluster/kubeval/schema.nix { };