git.iko.soy/typeable/nixpkgs
on master help sign in
wabt: include necessary build files for wasm2c
commit436c1540bd9732a65dda1939eb1fa1fc88c2ce56 authorEdmund Wu <fangkazuto@gmail.com> dateThu 7 May 2020, 13:03 (7 years ago) parent1eadc33
1 file changed+7−1
pkgs/development/tools/wabt/default.nix+7−1
pkgs/development/tools/wabt/default.nix+7−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, python3, substituteAll }:
1+{ stdenv, fetchpatch, fetchFromGitHub, cmake, python3, substituteAll }:
22
33stdenv.mkDerivation rec {
44 pname = "wabt";
@@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
1212 fetchSubmodules = true;
1313 };
1414
15+ # https://github.com/WebAssembly/wabt/pull/1408
16+ patches = [ (fetchpatch {
17+ url = "https://github.com/WebAssembly/wabt/pull/1408/commits/9115d0c55067435ec9c55924e8a2bb151bac095d.patch";
18+ sha256 = "1iklbz630vih08brsgq2d5q91kialg255sgd1mxl7023pvrhi44g";
19+ }) ];
20+
1521 nativeBuildInputs = [ cmake ];
1622 cmakeFlags = [ "-DBUILD_TESTS=OFF" "-DCMAKE_PROJECT_VERSION=${version}" ];
1723 buildInputs = [ python3 ];