Skip to content

Commit

Permalink
Add descriptions so nix flake check passes
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Oct 18, 2023
1 parent 3f976d8 commit 016f14a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 016f14a

Please sign in to comment.