deadnix: add versionCheckHook to installCheckPhase

This commit is contained in:
Diogo Correia
2026-07-27 22:42:15 +01:00
parent bbe312f994
commit ba03635f12
+4
View File
@@ -3,6 +3,7 @@
fetchFromGitHub,
rustPlatform,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -18,6 +19,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-MX4McxCeUQ1stk33BSm/zITHaXqOJUwNMfMVISgfMFA=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};