Merge pull request #325483 from SFrijters/gitleaks-completions
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user