fixup! WIP: templates: add rust
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2023-05-10 13:20:18 +00:00
parent 9caee54f2b
commit d8d75bf576
2 changed files with 6 additions and 2 deletions

View file

@ -7,4 +7,8 @@
path = ./c++-meson; path = ./c++-meson;
description = "A C++ project using CMake"; description = "A C++ project using CMake";
}; };
"rust" = {
path = ./rust;
description = "A Rust project using nixpkgs' tooling";
};
} }

View file

@ -42,8 +42,6 @@
lockFile = "${self}/Cargo.lock"; lockFile = "${self}/Cargo.lock";
}; };
doCheck = true;
meta = with lib; { meta = with lib; {
description = "A Rust project"; description = "A Rust project";
homepage = "https://gitea.belanyi.fr/ambroisie/project"; homepage = "https://gitea.belanyi.fr/ambroisie/project";
@ -92,7 +90,9 @@
]; ];
packages = with pkgs; [ packages = with pkgs; [
clippy
rust-analyzer rust-analyzer
rustfmt
]; ];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";