Merge pull request #325483 from SFrijters/gitleaks-completions

This commit is contained in:
Sandro
2024-07-10 13:43:44 +02:00
committed by GitHub
+2 -1
View File
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
gitleaks,
@@ -31,7 +32,7 @@ buildGoModule rec {
# With v8 the config tests are are blocking
doCheck = false;
postInstall = ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd ${pname} \
--bash <($out/bin/${pname} completion bash) \
--fish <($out/bin/${pname} completion fish) \