krane: remove kubectl wrapper

defer to a user provided kubectl
This commit is contained in:
zowoq 2022-02-17 15:42:34 +10:00
parent c2e75fdf9c
commit c5531b81bc

View file

@ -1,7 +1,5 @@
{ lib
, bundlerApp
, makeWrapper
, kubectl
, bundlerUpdateScript
}:
@ -10,13 +8,6 @@ bundlerApp {
gemdir = ./.;
exes = [ "krane" ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/krane" \
--prefix PATH : ${lib.makeBinPath [ kubectl ]}
'';
passthru.updateScript = bundlerUpdateScript "krane";
meta = with lib; {