diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-06-21 11:39:53 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-06-21 11:39:53 +0200 |
commit | 55295e0fe951fc3b5393058ed6bcbf6376446c21 (patch) | |
tree | 13d0bbc684bbc61d3d40c6e874fe4a5bbe71bf6b /pkgs/development/tools/yq-go | |
parent | e0a42267f73ea52adc061a64650fddc59906fc99 (diff) |
yq-go: adopt
Diffstat (limited to 'pkgs/development/tools/yq-go')
-rw-r--r-- | pkgs/development/tools/yq-go/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/tools/yq-go/default.nix b/pkgs/development/tools/yq-go/default.nix index 71135ede5b222..bd0abce2282ff 100644 --- a/pkgs/development/tools/yq-go/default.nix +++ b/pkgs/development/tools/yq-go/default.nix @@ -16,10 +16,10 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; postInstall = '' - for shell in bash fish zsh; do - $out/bin/yq shell-completion $shell > yq.$shell - installShellCompletion yq.$shell - done + installShellCompletion --cmd yq \ + --bash <($out/bin/yq shell-completion bash) \ + --fish <($out/bin/yq shell-completion fish) \ + --zsh <($out/bin/yq shell-completion zsh) ''; passthru.tests = { @@ -32,8 +32,8 @@ buildGoModule rec { meta = with lib; { description = "Portable command-line YAML processor"; homepage = "https://mikefarah.gitbook.io/yq/"; - license = [ licenses.mit ]; - maintainers = [ maintainers.lewo ]; mainProgram = "yq"; + license = [ licenses.mit ]; + maintainers = with maintainers; [ lewo SuperSandro2000 ]; }; } |