diff --git a/flake.nix b/flake.nix index 594a04385..f37f57ff8 100644 --- a/flake.nix +++ b/flake.nix @@ -112,7 +112,7 @@ cd ../ ''; }; - manifold-emscripten = { parallel }: pkgs.buildEmscriptenPackage { + manifold-emscripten = { parallel, doCheck ? true }: pkgs.buildEmscriptenPackage { name = "manifold-js"; version = manifold-version; src = self; @@ -134,11 +134,11 @@ buildPhase = '' emmake make -j''${NIX_BUILD_CORES} ''; - checkPhase = '' + checkPhase = if doCheck then '' cd test node manifold_test.js cd ../ - ''; + '' else ""; installPhase = '' mkdir -p $out cp bindings/wasm/manifold.* $out/ @@ -150,7 +150,11 @@ manifold-tbb = manifold { }; manifold-none = manifold { parallel = false; }; manifold-js = manifold-emscripten { parallel = false; }; - manifold-js-tbb = manifold-emscripten { parallel = true; }; + # disable check for now + manifold-js-tbb = manifold-emscripten { + parallel = true; + doCheck = false; + }; # but how should we make it work with other python versions? manifold3d = with pkgs.python3Packages; buildPythonPackage { pname = "manifold3d";