kubie: enable on darwin

This commit is contained in:
Mario Rodas 2020-05-19 04:20:00 -05:00
parent d890ac8973
commit f80ee73963
No known key found for this signature in database
GPG key ID: 325649BCA6D53027
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub, installShellFiles }:
{ stdenv, rustPlatform, fetchFromGitHub, installShellFiles, Security }:
rustPlatform.buildRustPackage rec {
pname = "kubie";
@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
postInstall = ''
installShellCompletion completion/kubie.bash
'';

View file

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