From e0ca2d19231c50543a6dc6bcc6335a3f9a84c595 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 29 Dec 2024 23:57:32 +0100 Subject: feat(src): Make usable --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 725ac24..33ff880 100644 --- a/flake.nix +++ b/flake.nix @@ -44,6 +44,8 @@ treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;}; package = pkgs.callPackage ./package.nix {}; + + format_layer = pkgs.callPackage ./rust/format/package.nix {}; in { packages.default = package; checks = { @@ -53,8 +55,20 @@ devShells.default = pkgs.mkShell { packages = with pkgs; [ + format_layer + reuse wally-cli + qmk + + # rust + rustc + cargo + rustfmt + clippy + rust-analyzer + cargo-edit + cargo-expand ]; env = { GCC_COLORS = "error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01"; -- cgit 1.4.1