diff --git a/.nix/rocq-overlays/metarocq-test/default.nix b/.nix/rocq-overlays/metarocq-test/default.nix index 789124015f..30b21d61aa 100644 --- a/.nix/rocq-overlays/metarocq-test/default.nix +++ b/.nix/rocq-overlays/metarocq-test/default.nix @@ -10,14 +10,19 @@ mkCoqDerivation { propagatedBuildInputs = [ metarocq ]; + useDune = true; + configurePhase = '' - patchShebangs ./configure.sh - ./configure.sh + echo no configuration ''; - buildFlags = [ "-C" "test-suite" ]; + buildPhase = '' + dune build ''${enableParallelBuilding:+-j $NIX_BUILD_CORES} @runtest + ''; installPhase = '' - echo "nothing to install" + echo installing nothing + # Make an output directory rather than a file, so this is more friendly to buildEnv + mkdir $out ''; }