From ce06e43af897e55d538c5e2c36c5cec8991cff1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Fri, 28 Mar 2025 20:58:40 +0100 Subject: [PATCH] gitleaks: re-enable checks --- pkgs/by-name/gi/gitleaks/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/gitleaks/package.nix b/pkgs/by-name/gi/gitleaks/package.nix index baab91b9de33..78de8db256a3 100644 --- a/pkgs/by-name/gi/gitleaks/package.nix +++ b/pkgs/by-name/gi/gitleaks/package.nix @@ -6,6 +6,7 @@ installShellFiles, nix-update-script, versionCheckHook, + git, }: buildGoModule rec { @@ -32,8 +33,7 @@ buildGoModule rec { versionCheckHook ]; - # With v8 the config tests are blocking - doCheck = false; + nativeCheckInputs = [ git ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd ${pname} \