From 9ca042765492174fd549bcca2cc62bffee9b1341 Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Sun, 30 Jun 2024 22:02:15 +0700 Subject: [PATCH] build: run unit tests in derivation Co-authored-by: warren2k <846021+warren2k@users.noreply.github.com> --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 7617fb1..1d1793b 100644 --- a/flake.nix +++ b/flake.nix @@ -62,8 +62,8 @@ // { inherit cargoArtifacts NIX_CMD_PATH NIX_INSTANTIATE_CMD_PATH; nativeCheckInputs = [pkgs.nix]; - # tests use nix. can't do that in the sandbox. - doCheck = false; + # integration tests use nix. can't do that in the sandbox. + cargoTestExtraArgs = "--bins"; } );