nix: also a way to run tests from nix

This commit is contained in:
silver 2024-11-23 19:39:44 +00:00
parent 3604ff197f
commit b9e35dfe09
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -48,6 +48,11 @@
mode = "clippy";
buildInputs = buildInputs;
};
test = naersk'.buildPackage {
src = ./.;
mode = "test";
buildInputs = buildInputs;
};
};
# `nix develop`