deno: cleanup install version checks (#519334)

This commit is contained in:
j-k
2026-05-14 08:35:29 +00:00
committed by GitHub
2 changed files with 2 additions and 12 deletions
+2 -6
View File
@@ -9,6 +9,7 @@
protobuf,
installShellFiles,
makeBinaryWrapper,
versionCheckHook,
librusty_v8 ? callPackage ./rusty-v8 { },
libffi,
sqlite,
@@ -237,12 +238,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
'';
doInstallCheck = canExecute;
installCheckPhase = lib.optionalString canExecute ''
runHook preInstallCheck
$out/bin/deno --help
$out/bin/deno --version | grep "deno ${finalAttrs.version}"
runHook postInstallCheck
'';
nativeInstallCheckInputs = [ versionCheckHook ];
passthru = {
updateScript = ./update.sh;
-6
View File
@@ -71,9 +71,3 @@ in
dir = ./read-file;
};
})
// {
version = testers.testVersion {
package = deno;
command = "deno --version";
};
}