···17171818rustPlatform.buildRustPackage rec {
1919 pname = "deno";
2020- version = "1.15.3";
2020+ version = "1.16.2";
21212222 src = fetchFromGitHub {
2323 owner = "denoland";
2424 repo = pname;
2525 rev = "v${version}";
2626- sha256 = "sha256-IFEo2F3gayR2LmAAJXezZPXpRfZf4re3YPZRcXpqx6o=";
2626+ sha256 = "sha256-Qf1eDQ6ZbBGOQIDh2q8hKjsKB0Ri9Hjqq1AMOTanML0=";
2727 };
2828- cargoSha256 = "sha256-9ZpPiqlqP01B9ETpVqVreivNuSMB1td4LinxXdH7PsM=";
2828+ cargoSha256 = "sha256-ZA9pR8yQV5v/Xa/B7M01PIqrkBe1DVIXC5VURoE1EtI=";
29293030 # Install completions post-install
3131 nativeBuildInputs = [ installShellFiles ];
···3535 buildInputs = lib.optionals stdenv.isDarwin
3636 [ libiconv libobjc Security CoreServices Metal Foundation QuartzCore ];
37373838- # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
3939- # To avoid this we pre-download the file and place it in the locations it will require it in advance
4040- preBuild =
4141- let arch = rust.toRustTarget stdenv.hostPlatform; in
4242- ''
4343- _librusty_v8_setup() {
4444- for v in "$@"; do
4545- install -D ${librusty_v8} "target/$v/gn_out/obj/librusty_v8.a"
4646- done
4747- }
4848-4949- # Copy over the `librusty_v8.a` file inside target/XYZ/gn_out/obj, symlink not allowed
5050- _librusty_v8_setup "debug" "release" "${arch}/release"
5151- '';
3838+ # The v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
3939+ # To avoid this we pre-download the file and export it via RUSTY_V8_ARCHIVE
4040+ RUSTY_V8_ARCHIVE = librusty_v8;
52415342 # Tests have some inconsistencies between runs with output integration tests
5443 # Skipping until resolved