mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
kubectl: override kubernetes
This commit is contained in:
parent
0c873dc3a2
commit
dff0428a45
@ -1,17 +1,8 @@
|
||||
{ lib, buildGoModule, kubernetes }:
|
||||
{ lib, kubernetes }:
|
||||
|
||||
buildGoModule rec {
|
||||
kubernetes.overrideAttrs (_: rec {
|
||||
pname = "kubectl";
|
||||
|
||||
inherit (kubernetes)
|
||||
buildPhase
|
||||
doCheck
|
||||
nativeBuildInputs
|
||||
src
|
||||
vendorSha256
|
||||
version
|
||||
;
|
||||
|
||||
outputs = [ "out" "man" "convert" ];
|
||||
|
||||
WHAT = lib.concatStringsSep " " [
|
||||
@ -38,4 +29,4 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/kubernetes/kubectl";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user