From b9e35dfe0985f8e0d834c13b6b7a76eec3529442 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 23 Nov 2024 19:39:44 +0000 Subject: [PATCH] nix: also a way to run tests from nix --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index be454f5..9626a03 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,11 @@ mode = "clippy"; buildInputs = buildInputs; }; + test = naersk'.buildPackage { + src = ./.; + mode = "test"; + buildInputs = buildInputs; + }; }; # `nix develop`