cargo-binstall: add versionCheckHook
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
bzip2,
|
||||
xz,
|
||||
zstd,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -57,6 +58,10 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=gh_api_client::test::test_gh_api_client_cargo_binstall_v0_20_1"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
versionCheckProgramArg = "-V";
|
||||
|
||||
meta = {
|
||||
description = "Tool for installing rust binaries as an alternative to building from source";
|
||||
mainProgram = "cargo-binstall";
|
||||
|
||||
Reference in New Issue
Block a user