diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-07-05 11:35:20 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-07-05 11:54:06 +1000 |
commit | dff0428a45de0523860e783d4d2db7e5fdf61c5c (patch) | |
tree | 7802bc5a936f60542716cd92ec6d673d313dfcb7 /pkgs/applications/networking/cluster/kubernetes | |
parent | 0c873dc3a280f12cd5322e4b1b84aa1e2e18d657 (diff) |
kubectl: override kubernetes
Diffstat (limited to 'pkgs/applications/networking/cluster/kubernetes')
-rw-r--r-- | pkgs/applications/networking/cluster/kubernetes/kubectl.nix | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/pkgs/applications/networking/cluster/kubernetes/kubectl.nix b/pkgs/applications/networking/cluster/kubernetes/kubectl.nix index 754bca32511c1..1176f0f28f684 100644 --- a/pkgs/applications/networking/cluster/kubernetes/kubectl.nix +++ b/pkgs/applications/networking/cluster/kubernetes/kubectl.nix @@ -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; }; -} +}) |