Skip to content

Commit 73b5ad7

Browse files
committed
feat(dev): add nix-unit to dev shell
Make the nix-unit CLI available in the development shell and document the `nix-unit --flake .#tests` command so the lib tests can be run ad hoc without going through `nix flake check`.
1 parent 4aa2ed1 commit 73b5ad7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

flake/dev/shells/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ let
1111
act
1212
deadnix
1313
nh
14+
nix-unit
1415
statix
1516
sops
1617
self'.formatter
@@ -41,6 +42,7 @@ mkShell {
4142
echo " deadnix - Find unused code"
4243
echo " nh search <query> - Search nixpkgs"
4344
echo " sops - Manage secrets"
45+
echo " nix-unit --flake .#tests - Run lib unit tests"
4446
echo " lua-language-server - Run LuaLS workspace checks"
4547
echo ""
4648
echo "💡 Tip: Run 'nix flake show' to see all available dev shells"

0 commit comments

Comments
 (0)