Commit 5a8296d7 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by Silvan Mosberger
Browse files

flake.nix: Set formatter

This enables `nix fmt`, though it won't be practically usable without
also reformatting all files, which is done in a following commit.
parent 398e74f7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ let
    in
    {
      shell = treefmtEval.config.build.devShell;
      pkg = treefmtEval.config.build.wrapper;
    };

in
+2 −0
Original line number Diff line number Diff line
@@ -133,6 +133,8 @@
          default = import ./shell.nix { inherit system; };
        });

      formatter = forAllSystems (system: (import ./ci { inherit system; }).fmt.pkg);

      /**
        A nested structure of [packages](https://nix.dev/manual/nix/latest/glossary#package-attribute-set) and other values.