From 9fc02843792eff801cc569e6b840116a17b41a87 Mon Sep 17 00:00:00 2001 From: mfw78 Date: Thu, 23 Jul 2026 01:18:11 +0000 Subject: [PATCH] flake: add cargo-nextest to the dev shell CI runs the suite with cargo nextest, but the dev shell shipped no nextest at all, so local gating silently diverged onto cargo test and workflow tooling had to nest a `nix shell nixpkgs#cargo-nextest` call to match CI. Pin it here and report its version in the banner. Unlike sccache, which is deliberately not bundled because a client must version-match the host's server, nextest is a standalone runner with no such constraint. --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 410ffa14..a861afc7 100644 --- a/flake.nix +++ b/flake.nix @@ -43,6 +43,7 @@ devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ rustToolchain + cargo-nextest wasm-tools wabt just @@ -72,6 +73,7 @@ fi echo "nexum dev shell — $(rustc --version)" command -v sccache >/dev/null && echo " compiler cache: $(sccache --version)" + echo " test runner: $(cargo nextest --version | head -n1)" ${lib.optionalString stdenv.isLinux ''command -v mold >/dev/null && echo " linker (native): mold $(mold --version | head -n1 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -n1)"''} ''; };