Merge pull request #247366 from tjni/boa
boa: fix compilation with rust 1.71
This commit is contained in:
commit
284b259bd3
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user