Commit 0d48fd06 authored by Thomas Watson's avatar Thomas Watson
Browse files

micropython: use Nix make infra and build in parallel

parent 02c88776
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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;