Add a formatter.

This commit is contained in:
Nicolas Patry 2024-09-12 11:44:10 +02:00
parent ca934411d1
commit 21832a1d4d
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -69,6 +69,7 @@
server = pkgs.python3.pkgs.callPackage ./nix/server.nix { inherit nix-filter; }; server = pkgs.python3.pkgs.callPackage ./nix/server.nix { inherit nix-filter; };
in in
{ {
formatter = pkgs.nixfmt-rfc-style;
devShells = with pkgs; rec { devShells = with pkgs; rec {
default = pure; default = pure;
@ -81,7 +82,8 @@
]; ];
}; };
test = mkShell { test = mkShell {
buildInputs = [ buildInputs =
[
benchmark benchmark
launcher launcher
router router