arkade: remove kubectl wrapper

defer to a user provided kubectl
This commit is contained in:
zowoq
2022-02-19 07:00:48 +10:00
parent 88a2ad9746
commit c2e75fdf9c
@@ -2,8 +2,6 @@
, stdenv
, buildGoModule
, fetchFromGitHub
, makeWrapper
, kubectl
}:
buildGoModule rec {
@@ -40,13 +38,6 @@ buildGoModule rec {
"-X github.com/alexellis/arkade/cmd.Version=${version}"
];
buildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/arkade" \
--prefix PATH : ${lib.makeBinPath [ kubectl ]}
'';
meta = with lib; {
homepage = "https://github.com/alexellis/arkade";
description = "Open Source Kubernetes Marketplace";