diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:33:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:33:00 -0500 |
commit | dabed704c5fdcafc4deb040f3c4d80f7aeca064d (patch) | |
tree | 6039661fd64af631f48c4b59251cca0c5e51a634 /pkgs/applications/networking/cluster/kubeval/default.nix | |
parent | 6e26c88a24a09e04ee30ef5d7d1865b529bff5d0 (diff) |
kubeval: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking/cluster/kubeval/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/kubeval/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/kubeval/default.nix b/pkgs/applications/networking/cluster/kubeval/default.nix index 54be5956040c4..046052f78befc 100644 --- a/pkgs/applications/networking/cluster/kubeval/default.nix +++ b/pkgs/applications/networking/cluster/kubeval/default.nix @@ -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; |