diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-08-05 22:57:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 22:57:01 +0200 |
commit | 284b259bd31cc5aaf8c45176c88e980944e6152d (patch) | |
tree | 0a279eafef12edb3dd29490417960c45fa0befd1 /pkgs/development/web | |
parent | c33abfefe2d6baa9dc70e61553a526dc07cd3d23 (diff) | |
parent | 5452351b11ae7fe87f612b397c633b721c763225 (diff) |
Merge pull request #247366 from tjni/boa
boa: fix compilation with rust 1.71
Diffstat (limited to 'pkgs/development/web')
-rw-r--r-- | pkgs/development/web/boa/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/web/boa/default.nix b/pkgs/development/web/boa/default.nix index de7b41ad4a28b..dffc94934868b 100644 --- a/pkgs/development/web/boa/default.nix +++ b/pkgs/development/web/boa/default.nix @@ -1,6 +1,7 @@ { lib , rustPlatform , fetchFromGitHub +, fetchpatch , pkg-config , bzip2 , openssl @@ -21,6 +22,14 @@ rustPlatform.buildRustPackage rec { fetchSubmodules = true; }; + patches = [ + (fetchpatch { + name = "fix-rust-1.71-lints.patch"; + url = "https://github.com/boa-dev/boa/commit/93d05bda6864aa6ee67682d84bd4fc2108093ef5.patch"; + hash = "sha256-hMp4/UBN5moGBSqf8BJV2nBwgV3cry9uC2fJmdT5hkQ="; + }) + ]; + cargoHash = "sha256-2ZzTvVoA4oxy26rL0tvdvXm2oVWpHP+gooyjB4vIP3M="; cargoBuildFlags = [ "--package" "boa_cli" ]; |