From dac53d9c9a64db03edf8e457b756a2831922a328 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Tue, 26 Jan 2021 04:51:08 -0700 Subject: [PATCH] Add Nix-flake check for checking build and Rust tests --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) 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