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
|
{ lib
|
||||||
, bundlerApp
|
, bundlerApp
|
||||||
, makeWrapper
|
|
||||||
, kubectl
|
|
||||||
, bundlerUpdateScript
|
, bundlerUpdateScript
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -10,13 +8,6 @@ bundlerApp {
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
exes = [ "krane" ];
|
exes = [ "krane" ];
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
postBuild = ''
|
|
||||||
wrapProgram "$out/bin/krane" \
|
|
||||||
--prefix PATH : ${lib.makeBinPath [ kubectl ]}
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.updateScript = bundlerUpdateScript "krane";
|
passthru.updateScript = bundlerUpdateScript "krane";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue