binaryen: backport patch for wasm2js
This commit is contained in:
parent
4df8e6fc95
commit
0956fc22d8
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, cmake, python3, fetchFromGitHub, emscripten,
|
{ lib, stdenv, cmake, python3, fetchFromGitHub, emscripten,
|
||||||
gtest, lit, nodejs, filecheck
|
gtest, lit, nodejs, filecheck, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-HMPoiuTvYhTDaBUfSOfh/Dt4FdO9jGqUaFpi92pnscI=";
|
sha256 = "sha256-HMPoiuTvYhTDaBUfSOfh/Dt4FdO9jGqUaFpi92pnscI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/WebAssembly/binaryen/pull/4321
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/WebAssembly/binaryen/commit/93b8849d9f98ef7ed812938ff0b3219819c2be77.patch";
|
||||||
|
sha256 = "sha256-Duan/B9A+occ5Lj2SbRX793xIfhzHbdYPI5PyTNCZoU=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python3 ];
|
nativeBuildInputs = [ cmake python3 ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
Loading…
Reference in a new issue