Add descriptions so nix flake check passes

This commit is contained in:
Graham Christensen 2023-10-18 12:14:50 -04:00 committed by Patryk Wychowaniec
parent 3f976d822b
commit 636a9b5dd7

View file

@ -15,24 +15,28 @@
templates = {
hello-world = {
description = "A simple and straight-forward 'hello world' Rust program.";
path =
builtins.filterSource (path: type: baseNameOf path == "flake.nix")
./examples/hello-world;
};
cross-windows = {
description = "Pre-configured for cross-compiling to Windows.";
path =
builtins.filterSource (path: type: baseNameOf path == "flake.nix")
./examples/cross-windows;
};
static-musl = {
description = "Pre-configured for statically linked binaries for Linux with musl.";
path =
builtins.filterSource (path: type: baseNameOf path == "flake.nix")
./examples/static-musl;
};
multi-target = {
description = "A Rust project with multiple crates and build targets.";
path =
builtins.filterSource (path: type: baseNameOf path == "flake.nix")
./examples/multi-target;