nix: also a way to run tests from nix
This commit is contained in:
parent
3604ff197f
commit
b9e35dfe09
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@
|
|||
mode = "clippy";
|
||||
buildInputs = buildInputs;
|
||||
};
|
||||
test = naersk'.buildPackage {
|
||||
src = ./.;
|
||||
mode = "test";
|
||||
buildInputs = buildInputs;
|
||||
};
|
||||
};
|
||||
|
||||
# `nix develop`
|
||||
|
|
Loading…
Reference in a new issue