aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authornotgne22021-01-26 04:51:08 -0700
committernotgne22021-01-26 04:51:08 -0700
commitdac53d9c9a64db03edf8e457b756a2831922a328 (patch)
treea1a9f5ad81de33599c1e1b18c06ec1a8814a3f9b /flake.nix
parent4be67edc240f5b30dcd11f7598f3b8801304a310 (diff)
Add Nix-flake check for checking build and Rust tests
Diffstat (limited to '')
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 545762f..df480e5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,6 +48,10 @@
buildInputs = [ pkgs.nixUnstable ];
};
+ checks = {
+ deploy-rs = self.defaultPackage.${system}.overrideAttrs (super: { doCheck = true; });
+ };
+
lib = rec {
setActivate = builtins.trace