diff --git a/pkgs/by-name/ba/bat/package.nix b/pkgs/by-name/ba/bat/package.nix index fa4d14282515..013e9b85b0c9 100644 --- a/pkgs/by-name/ba/bat/package.nix +++ b/pkgs/by-name/ba/bat/package.nix @@ -7,6 +7,7 @@ installShellFiles, makeWrapper, zlib, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -62,6 +63,9 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=file_with_invalid_utf8_filename" ]; + nativeInstallCheckInputs = [ + versionCheckHook + ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck