diff --git a/pkgs/by-name/bi/binwalk/package.nix b/pkgs/by-name/bi/binwalk/package.nix index 5765c47ef07d..b897fe4a5ba3 100644 --- a/pkgs/by-name/bi/binwalk/package.nix +++ b/pkgs/by-name/bi/binwalk/package.nix @@ -6,6 +6,7 @@ fontconfig, bzip2, stdenv, + versionCheckHook, }: rustPlatform.buildRustPackage rec { @@ -51,6 +52,10 @@ rustPlatform.buildRustPackage rec { "--skip=extractors::common::Chroot::make_executable" ]; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + versionCheckProgramArg = "-V"; + meta = { description = "Firmware Analysis Tool"; homepage = "https://github.com/ReFirmLabs/binwalk";