Skip to content

Commit

Permalink
binwalk: add versionCheckHook
Browse files Browse the repository at this point in the history
  • Loading branch information
KSJ2000 committed Jan 15, 2025
1 parent 722192e commit f723903
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/bi/binwalk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
fontconfig,
bzip2,
stdenv,
versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit f723903

Please sign in to comment.