aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authornotgne22021-01-26 05:28:30 -0700
committerGitHub2021-01-26 05:28:30 -0700
commitc00e29a39df47c8cdba8c4bb43868a27f32df3b8 (patch)
treea1a9f5ad81de33599c1e1b18c06ec1a8814a3f9b /flake.nix
parent4be67edc240f5b30dcd11f7598f3b8801304a310 (diff)
parentdac53d9c9a64db03edf8e457b756a2831922a328 (diff)
Merge pull request #56 from serokell/notgne2/nix-check-build-and-tests
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