From c4e0de36e97760c548958adcebe6c010469d7378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Reyrol?= Date: Fri, 1 Dec 2023 08:30:46 +0100 Subject: [PATCH] fix(packages/grafana-agent): fix postInstall hook --- src/packages/grafana-agent/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/packages/grafana-agent/default.nix b/src/packages/grafana-agent/default.nix index 4baa81e..c667bc7 100644 --- a/src/packages/grafana-agent/default.nix +++ b/src/packages/grafana-agent/default.nix @@ -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"; @@ -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) \