micropython: use Nix make infra and build in parallel

This commit is contained in:
Thomas Watson 2024-08-19 14:46:03 -05:00
parent 1c5f849214
commit d3b08d1bd0

View File

@ -23,12 +23,9 @@ stdenv.mkDerivation rec {
buildInputs = [ libffi readline ];
buildPhase = ''
runHook preBuild
make -C mpy-cross
make -C ports/unix
runHook postBuild
'';
makeFlags = [ "-C" "ports/unix" ]; # also builds mpy-cross
enableParallelBuilding = true;
doCheck = true;