krane: remove kubectl wrapper
defer to a user provided kubectl
This commit is contained in:
parent
c2e75fdf9c
commit
c5531b81bc
1 changed files with 0 additions and 9 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue