kubeval: fix build on darwin
This commit is contained in:
parent
6e26c88a24
commit
dabed704c5
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, buildGoModule, makeWrapper }:
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubeval";
|
||||
@ -13,7 +13,9 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0y9x44y3bchi8xg0a6jmp2rmi8dybkl6qlywb6nj1viab1s8dd4y";
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Validate your Kubernetes configuration files";
|
||||
homepage = https://github.com/instrumenta/kubeval;
|
||||
license = licenses.asl20;
|
||||
|
@ -20290,7 +20290,9 @@ in
|
||||
|
||||
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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user