Skip to content

Commit

Permalink
fix(packages/grafana-agent): fix postInstall hook
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelreyrol committed Dec 1, 2023
1 parent b1545f3 commit c4e0de3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/packages/grafana-agent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
}:

{
enableBoringCrypto ? false
, # https://grafana.com/docs/agent/latest/about/#boringcrypto
disableDataCollection ? true # https://grafana.com/docs/agent/latest/data-collection/
enableBoringCrypto ? false # https://grafana.com/docs/agent/latest/about/#boringcrypto
}: let
pname = "grafana-agent";
version = "0.38.1";
Expand Down Expand Up @@ -78,7 +76,7 @@ in buildGoModule {
cp -r ${ui} web/ui/build
'';

postInstall = '';
postInstall = ''
installShellCompletion --cmd grafana-agentctl \
--bash <($out/bin/grafana-agentctl completion bash) \
--fish <($out/bin/grafana-agentctl completion fish) \
Expand Down

0 comments on commit c4e0de3

Please sign in to comment.