Loading pkgs/by-name/gi/gitleaks/package.nix +4 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,10 @@ buildGoModule rec { nativeCheckInputs = [ git ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' postInstall = '' install -Dm444 config/gitleaks.toml $out/etc/gitleaks.toml '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd ${pname} \ --bash <($out/bin/${pname} completion bash) \ --fish <($out/bin/${pname} completion fish) \ Loading Loading
pkgs/by-name/gi/gitleaks/package.nix +4 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,10 @@ buildGoModule rec { nativeCheckInputs = [ git ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' postInstall = '' install -Dm444 config/gitleaks.toml $out/etc/gitleaks.toml '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd ${pname} \ --bash <($out/bin/${pname} completion bash) \ --fish <($out/bin/${pname} completion fish) \ Loading