deno: 2.9.3 -> 2.9.4 (#545216)
This commit is contained in:
@@ -33,7 +33,7 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "deno";
|
||||
version = "2.9.3";
|
||||
version = "2.9.4";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -47,10 +47,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
repo = "deno";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true; # required for tests
|
||||
hash = "sha256-XMHlWK+lhyn1KO1CSxcuM3KzTjYviVrRw+FUL74bBPc=";
|
||||
hash = "sha256-ivch++yGRUyWtox/5QqomC4DlTvMBxK+gIcN9/7tt5E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-WZxyoD9WMnaLyD3/86R90KWC+9OA15fIMw8SjmovNHA=";
|
||||
cargoHash = "sha256-ynbHLZXkPPYpsC4dCu6jA6x8ftiTHWZ/uxzdbUcUaa0=";
|
||||
|
||||
patches = [
|
||||
./patches/0002-tests-replace-hardcoded-paths.patch
|
||||
@@ -211,6 +211,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
# Wants to access /etc/resolv.conf: https://github.com/hickory-dns/hickory-dns/issues/2959
|
||||
"--skip=tests::test_userspace_resolver"
|
||||
# We don't have a tmp dir with sticky bit during build
|
||||
"--skip=util::temp::test::test_ensure_secure_temp_parent_rejects_non_sticky_writable_dir"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
Submodule build contains modified content
|
||||
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
||||
index 11ddb4916..0bd001600 100644
|
||||
--- a/build/config/compiler/BUILD.gn
|
||||
+++ b/build/config/compiler/BUILD.gn
|
||||
@@ -2827,10 +2827,6 @@ config("split_dwarf") {
|
||||
# thinlto requires -gsplit-dwarf in ldflags.
|
||||
if (use_thin_lto && !is_apple) {
|
||||
ldflags = split_dwarf_flags
|
||||
- } else {
|
||||
- # .dwo files are generated when ThinLTO is not used.
|
||||
- c_additional_outputs =
|
||||
- [ "{{target_out_dir}}/{{label_name}}/{{source_name_part}}.dwo" ]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,26 +71,27 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rusty-v8";
|
||||
version = "149.4.0";
|
||||
version = "150.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denoland";
|
||||
repo = "rusty_v8";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-n4dKtki9ov0lWBeLmMDI4Tpk8zQ8YYSf04QW6DTYisY=";
|
||||
hash = "sha256-Iwgc08bUHR4OiwqopJua6fkQYMOdC5k9TgoCmZQrWIw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./librusty_v8_no_downloads.patch
|
||||
./llvm22.patch
|
||||
./gn_inputs_fix.patch
|
||||
./c_additional_outputs.patch
|
||||
]
|
||||
++ lib.optionals stdenv.targetPlatform.isDarwin [
|
||||
./librusty_v8-darwin-fix-__rust_no_alloc_shim_is_unstable_v2.patch
|
||||
];
|
||||
|
||||
cargoHash = "sha256-bGqg/6sfBaF/JpObgXyP4Mh+4P9zfuzd454m4wjluGw=";
|
||||
cargoHash = "sha256-M65ODvL+o3njO3SdbJaCvgRupoguCGCIoYY/dYiJPng=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
llvmPackages.clang
|
||||
|
||||
Reference in New Issue
Block a user