move templates
This commit is contained in:
13
templates/rust.nix
Normal file
13
templates/rust.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
_: {
|
||||
flake.templates.rust = {
|
||||
path = ./_rust;
|
||||
description = "A simple rust binary template";
|
||||
welcomeText = ''
|
||||
# Rust template
|
||||
This is a simple rust binary template.
|
||||
To build the project run `cargo build`.
|
||||
To run the project run `cargo run`.
|
||||
Before running nix build, make sure to run `cargo generate-lockfile` first.
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user