14 lines
376 B
Nix
14 lines
376 B
Nix
_: {
|
|
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.
|
|
'';
|
|
};
|
|
}
|