diff --git a/templates/default.nix b/templates/default.nix index f58fd72..be02202 100644 --- a/templates/default.nix +++ b/templates/default.nix @@ -7,4 +7,8 @@ path = ./c++-meson; description = "A C++ project using CMake"; }; + "rust" = { + path = ./rust; + description = "A Rust project using nixpkgs' tooling"; + }; } diff --git a/templates/rust/flake.nix b/templates/rust/flake.nix index 7473d54..4ec82be 100644 --- a/templates/rust/flake.nix +++ b/templates/rust/flake.nix @@ -42,8 +42,6 @@ lockFile = "${self}/Cargo.lock"; }; - doCheck = true; - meta = with lib; { description = "A Rust project"; homepage = "https://gitea.belanyi.fr/ambroisie/project"; @@ -92,7 +90,9 @@ ]; packages = with pkgs; [ + clippy rust-analyzer + rustfmt ]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";