wlink: use versionCheckHook (#361080)

This commit is contained in:
Aleksana 2024-12-08 12:03:47 +08:00 committed by GitHub
commit 69934911ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,8 +7,7 @@
libusb1,
udev,
nix-update-script,
testers,
wlink,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
@ -29,11 +28,11 @@ rustPlatform.buildRustPackage rec {
udev
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = wlink;
};
};
meta = {