diff --git a/pkgs/by-name/py/pyrefly/package.nix b/pkgs/by-name/py/pyrefly/package.nix index 41c354c1b52b..46207680f2df 100644 --- a/pkgs/by-name/py/pyrefly/package.nix +++ b/pkgs/by-name/py/pyrefly/package.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ rust-jemalloc-sys ]; nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgramArg = "--version"; doInstallCheck = true; # redirect tests writing to /tmp