deno: 2.9.4 -> 2.9.5; rusty-v8: 150.2.0 -> 150.4.0

This also required adding the deno build feature "v8" for it to actually
build.
This commit is contained in:
Mynacol
2026-08-15 11:04:34 +00:00
parent 0639e165b2
commit 1c47238221
2 changed files with 9 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "deno";
version = "2.9.4";
version = "2.9.5";
__structuredAttrs = true;
@@ -50,10 +50,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
repo = "deno";
tag = "v${finalAttrs.version}";
fetchSubmodules = true; # required for tests
hash = "sha256-ivch++yGRUyWtox/5QqomC4DlTvMBxK+gIcN9/7tt5E=";
hash = "sha256-IEtUgjk0sYvHCRBH8JI4NVhT0J5qhmF0kJ5zq00n0ro=";
};
cargoHash = "sha256-ynbHLZXkPPYpsC4dCu6jA6x8ftiTHWZ/uxzdbUcUaa0=";
cargoHash = "sha256-b2RxrG2EEKRuEXQG818NwVQV7AgqZOyBYBW3/kGckZg=";
patches = [
./patches/0002-tests-replace-hardcoded-paths.patch
@@ -95,6 +95,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
# Disable the default feature `upgrade` (which controls the self-update subcommand and update checks)
buildNoDefaultFeatures = true;
buildFeatures = [
"v8"
];
# work around "error: unknown warning group '-Wunused-but-set-parameter'"
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unknown-warning-option";

View File

@@ -71,14 +71,14 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rusty-v8";
version = "150.2.0";
version = "150.4.0";
src = fetchFromGitHub {
owner = "denoland";
repo = "rusty_v8";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-Iwgc08bUHR4OiwqopJua6fkQYMOdC5k9TgoCmZQrWIw=";
hash = "sha256-dzFIzoMgs5UmUcCnl2XiGBBjPnPuVhvT6JS56y+xvoo=";
};
patches = [
@@ -91,7 +91,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
./librusty_v8-darwin-fix-__rust_no_alloc_shim_is_unstable_v2.patch
];
cargoHash = "sha256-M65ODvL+o3njO3SdbJaCvgRupoguCGCIoYY/dYiJPng=";
cargoHash = "sha256-OSHGZLGO1UKf8HQVV9iH+XanCOJoc301UvoI8jXoygw=";
nativeBuildInputs = [
llvmPackages.clang