Merge pull request #180184 from qowoz/k8s-override
kubectl: override kubernetes
This commit is contained in:
commit
538bb1a472
1 changed files with 3 additions and 12 deletions
|
@ -1,17 +1,8 @@
|
||||||
{ lib, buildGoModule, kubernetes }:
|
{ lib, kubernetes }:
|
||||||
|
|
||||||
buildGoModule rec {
|
kubernetes.overrideAttrs (_: rec {
|
||||||
pname = "kubectl";
|
pname = "kubectl";
|
||||||
|
|
||||||
inherit (kubernetes)
|
|
||||||
buildPhase
|
|
||||||
doCheck
|
|
||||||
nativeBuildInputs
|
|
||||||
src
|
|
||||||
vendorSha256
|
|
||||||
version
|
|
||||||
;
|
|
||||||
|
|
||||||
outputs = [ "out" "man" "convert" ];
|
outputs = [ "out" "man" "convert" ];
|
||||||
|
|
||||||
WHAT = lib.concatStringsSep " " [
|
WHAT = lib.concatStringsSep " " [
|
||||||
|
@ -38,4 +29,4 @@ buildGoModule rec {
|
||||||
homepage = "https://github.com/kubernetes/kubectl";
|
homepage = "https://github.com/kubernetes/kubectl";
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue