Flake: Add and run formatter + Rename devshell

Add a formatter output to the flake (`nix fmt`), along with moving +
renaming the devshell so it will work by running `nix-shell` in the root
of the project.
This commit is contained in:
Jess 2024-12-15 03:53:07 +13:00 committed by Sam Atkins
commit 61fcccb104
Notes: github-actions[bot] 2024-12-18 15:16:44 +00:00
4 changed files with 50 additions and 34 deletions

View file

@ -114,10 +114,10 @@ nix develop
nix develop --command bash
# Using nix-shell
nix-shell UI
nix-shell
# Using nix-shell and a custom shell
nix-shell UI --command bash
nix-shell --command bash
```
Then invoke `cmake` directly. For example: