Update librusty_v8.nix for our new V8 dependency version. (#4202)

# Description of Changes

And more precisely pin the Cargo dep, along with a comment.

# API and ABI breaking changes

N/a

# Expected complexity level and risk

1

# Testing

- [x] `nix build` now exits 0 and produces runnable binaries locally.
(`nix flake check` is still broken.)
This commit is contained in:
Phoebe Goldman
2026-02-04 13:48:29 -05:00
committed by GitHub
parent 361a55cf09
commit 9167f4b19b
2 changed files with 11 additions and 4 deletions
+8 -1
View File
@@ -315,7 +315,14 @@ unicode-normalization = "0.1.23"
url = "2.3.1"
urlencoding = "2.1.2"
uuid = { version = "1.18.1", default-features = false }
v8 = "145"
# Pinned to a specific version rather than allowing SemVer fuzzy resolution
# because our flake references the specific version of this library.
# See librusty_v8.nix for more details.
# When updating the V8 crate, either update the version and hashes in that file,
# or ping phoebe @gefjon to do so.
v8 = "=145.0.0"
walkdir = "2.2.5"
wasmbin = "0.6"
webbrowser = "1.0.2"
+3 -3
View File
@@ -22,14 +22,14 @@
};
in
fetch_librusty_v8 {
version = "140.2.0";
version = "145.0.0";
shas = {
x86_64-linux = "sha256-r3qrYDVaT4Z6udC6YuQG1BKqrsQc7IhuACDCTbr083U=";
x86_64-linux = "sha256-chV1PAx40UH3Ute5k3lLrgfhih39Rm3KqE+mTna6ysE=";
# I (pgoldman 2025-10-17) only use x86_64-linux, so I haven't filled in these hashes.
# If you use one of these platforms, run the build and wait for it to fail,
# copy the detected sha256 from the error message in here, then re-run.
aarch64-linux = "0000000000000000000000000000000000000000000000000000";
x86_64-darwin = "0000000000000000000000000000000000000000000000000000";
aarch64-darwin = "sha256-eZ2l9ovI2divQake+Z4/Ofcl5QwJ+Y/ql2Dymisx1oA=";
aarch64-darwin = "0000000000000000000000000000000000000000000000000000";
};
}