diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-06 00:02:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 00:02:17 +0000 |
commit | 8660ec23c78ad726f0a7dd3acdad92fd598d9712 (patch) | |
tree | f8d82deca5c2a6b8aad36b0c09c3b9c1c56a5e49 /pkgs/applications/networking | |
parent | ac779b472ecb12c2a1d8f0b05384011113e86a0f (diff) | |
parent | 5706443baf9ce6a4cdb09f0c8463429c0549a9df (diff) | |
download | nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.tar nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.tar.gz nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.tar.bz2 nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.tar.lz nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.tar.xz nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.tar.zst nixlib-8660ec23c78ad726f0a7dd3acdad92fd598d9712.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/cluster/popeye/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/popeye/default.nix b/pkgs/applications/networking/cluster/popeye/default.nix index f1db435c443c..95a437704120 100644 --- a/pkgs/applications/networking/cluster/popeye/default.nix +++ b/pkgs/applications/networking/cluster/popeye/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: buildGoModule rec { pname = "popeye"; @@ -19,6 +19,15 @@ buildGoModule rec { vendorHash = "sha256-ThldEPzAwMfNnhUEgHL5/asc+SETKxTrPIJt307tqsg="; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installShellCompletion --cmd popeye \ + --bash <($out/bin/popeye completion bash) \ + --fish <($out/bin/popeye completion fish) \ + --zsh <($out/bin/popeye completion zsh) + ''; + doInstallCheck = true; installCheckPhase = '' $out/bin/popeye version | grep ${version} > /dev/null |