From b61e3b1e4098c2a7bcb5c7da9067945d3a472826 Mon Sep 17 00:00:00 2001 From: Pierre Roux Date: Thu, 19 Nov 2026 09:24:18 +0100 Subject: [PATCH] [CI] Fix metarocq-test --- .nix/rocq-overlays/metarocq-test/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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 ''; }