Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Add treefmt-nix #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

build: Add treefmt-nix #76

wants to merge 1 commit into from

Conversation

KP64
Copy link
Contributor

@KP64 KP64 commented Jan 29, 2025

This PR removes pre-commit checks and delegates those to the CI when the treefmt checks are run by check-flake.yml.

Numtide dev shells have been removed too as they are replaced by just using nix fmt, reducing the flake size.
Standard dev shells are taking their place instead with the mdbook package, which I've found was missing when I tried to serve the documentation locally.

The formatter is left to be Alejandra. However, it would be beneficial to change to nixfmt-rfc-style (nixfmt in treefmt-nix) in order to guarantee the same styling as in Nixpkgs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant