diff --git a/pkgs/development/tools/yq-go/default.nix b/pkgs/development/tools/yq-go/default.nix index 479494e515d..878661e74ce 100644 --- a/pkgs/development/tools/yq-go/default.nix +++ b/pkgs/development/tools/yq-go/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "yq-go"; - version = "3.4.1"; + version = "4.4.1"; src = fetchFromGitHub { owner = "mikefarah"; - rev = version; + rev = "v${version}"; repo = "yq"; - sha256 = "09kcqa15assjhp3kdffa3yhc2vykinzgscjzg996qa85kjircy9b"; + sha256 = "sha256-U1nMSwWKzPvyvxUx8J50AMB251ET4s9xcSrjGGjkYus="; }; - vendorSha256 = "0l5bhbp8dfq04hb4xcpx96ksfwx4xvk0pj5ma00rk3z913ikygcd"; + vendorSha256 = "sha256-CUELy6ajaoVzomY5lMen24DFJke3IyFzqWYyF7sws5g="; doCheck = false; @@ -19,7 +19,7 @@ buildGoModule rec { postInstall = '' for shell in bash fish zsh; do - $out/bin/yq shell-completion --variation $shell > yq.$shell + $out/bin/yq shell-completion $shell > yq.$shell installShellCompletion yq.$shell done '';