-
Follow instructions from readme: https://github.com/cachix/pre-commit-hooks.nix/blob/61a3511668891c68ebd19d40122150b98dc2fe3b/README.md?plain=1#L31-L73
Now inspect `.pre-commit-config.yaml`:
…
-
https://flake.parts/options/treefmt-nix
-
***This is a meta issue tracking the issue this flake is trying to/ has to resolve and the status of the issue.***
## Tooling
- [ ] provide reliably cached tools for different used ghc versions…
-
**Describe the bug**
If you make a git branch/tag whose name ends in .nix, git creates files like `.git/refs/heads/add-stuff-to-default.nix` that don't contain nix code but end up being "formatted"…
-
Subscribe to this issue and stay notified about new [daily trending repos in Nix](https://github.com/trending/nix?since=daily).
-
## Problem statement
Scripts often don't have a file extension. This means that the `files = []` attribute won't be able to target them efficiently. The user would have to manually pass all of the …
-
**Describe the bug**
I just switched to the new release treefmt v2.0.2 and I am experiencing some weird issues with the `--fail-on-change` flag.
I am running `treefmt` via pre-commit ([git-hooks.n…
-
**Is your feature request related to a problem? Please describe.**
At work we use `treefmt` to call `ormolu` on ~2.5k Haskell files. This takes about 32 seconds.
A natural improvement would be t…
-
**Describe the bug**
When you run `treefmt` for the first time, or with a clean cache, it seems to emit a warning for every file in your repository that doesn't have a formatter.
e.g.
```
WARN…
-
Currently there is no bulletproof way to advise direnv of the true Nix dependency chain for a nix shell in order for the `watch_*` functions to reload only when something has actually genuinely change…