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} \