Skip to content

Commit

Permalink
nix: Add treefmt to devShell
Browse files Browse the repository at this point in the history
This also adds the formatters themselves to the devShell.

Resolves #36
  • Loading branch information
srid committed Jul 14, 2024
1 parent c9f7626 commit 9997b9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
};

devShells.default = pkgs.mkShell {
inputsFrom = [ self'.devShells.rust ];
inputsFrom = [
self'.devShells.rust
config.treefmt.build.devShell
];
packages = [
pkgs.cargo-watch
config.process-compose.cargo-doc-live.outputs.package
Expand Down

0 comments on commit 9997b9d

Please sign in to comment.