Add Nix-flake check for checking build and Rust tests

This commit is contained in:
notgne2 2021-01-26 04:51:08 -07:00
parent 4be67edc24
commit dac53d9c9a
No known key found for this signature in database
GPG Key ID: BB661E172B42A7F8

View File

@ -48,6 +48,10 @@
buildInputs = [ pkgs.nixUnstable ]; buildInputs = [ pkgs.nixUnstable ];
}; };
checks = {
deploy-rs = self.defaultPackage.${system}.overrideAttrs (super: { doCheck = true; });
};
lib = rec { lib = rec {
setActivate = builtins.trace setActivate = builtins.trace