You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -106,6 +137,12 @@ A better alternative in such cases is to run `pre-commit` through `nix develop`:
106
137
nix develop -c pre-commit run -a
107
138
```
108
139
140
+
Or configure a `formatter` like in the example above and use `nix fmt`:
141
+
142
+
```shell
143
+
nix fmt
144
+
```
145
+
109
146
### flake-parts
110
147
111
148
If your flake uses [flake-parts](https://flake.parts/), we provide a flake-parts module as well. Checkout [`./template/flake.nix`](https://github.com/cachix/git-hooks.nix/blob/master/template/flake.nix) for an example.
0 commit comments