aws-vault: install completions (#115059)
This commit is contained in:
parent
8671fe7c90
commit
61e6aeb6b2
@ -1,4 +1,4 @@
|
||||
{ buildGoModule, lib, fetchFromGitHub }:
|
||||
{ buildGoModule, lib, fetchFromGitHub, installShellFiles }:
|
||||
buildGoModule rec {
|
||||
pname = "aws-vault";
|
||||
version = "6.2.0";
|
||||
@ -12,6 +12,16 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "18lmxx784377x1v0gr6fkdx5flhcajsqlzyjx508z0kih6ammc0z";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd aws-vault \
|
||||
--bash $src/contrib/completions/bash/aws-vault.bash \
|
||||
--fish $src/contrib/completions/fish/aws-vault.fish \
|
||||
--zsh $src/contrib/completions/zsh/aws-vault.zsh
|
||||
'';
|
||||
|
||||
|
||||
doCheck = false;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
Loading…
Reference in New Issue
Block a user