diff --git a/pkgs/applications/networking/cluster/kubernetes/kubectl.nix b/pkgs/applications/networking/cluster/kubernetes/kubectl.nix index 754bca32511c..1176f0f28f68 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; }; -} +})