From 2c3c96371e0dea2e912d26f1c374f6cdb2325dfc Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 26 Sep 2025 21:15:04 +0200 Subject: [PATCH] muffet: use `versionCheckHook` --- pkgs/by-name/mu/muffet/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/mu/muffet/package.nix b/pkgs/by-name/mu/muffet/package.nix index 1c67dbe9cbfe..f490fba48285 100644 --- a/pkgs/by-name/mu/muffet/package.nix +++ b/pkgs/by-name/mu/muffet/package.nix @@ -2,6 +2,7 @@ lib, buildGoModule, fetchFromGitHub, + versionCheckHook, }: buildGoModule (finalAttrs: { @@ -17,6 +18,10 @@ buildGoModule (finalAttrs: { vendorHash = "sha256-oidOSV8y0VwTabipe7XwurUAra9F65nkTXslwXJ94Jw="; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgramArg = "--version"; + meta = { description = "Website link checker which scrapes and inspects all pages in a website recursively"; homepage = "https://github.com/raviqqe/muffet";