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

Add check to the wrapper's meta.tests #317

Open
multivac61 opened this issue Feb 28, 2025 · 0 comments
Open

Add check to the wrapper's meta.tests #317

multivac61 opened this issue Feb 28, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@multivac61
Copy link

Is your feature request related to a problem? Please describe.

@phaer created an issue in blueprint that explains the problem quite well.

I love simply adding a formatter nix to invoke treefmt-nix by just adding a treefmt-nix.mkWrapper call as e.g. in nixos-facter. But I'd like to use the same treefmt-nix configuration as a flake check. As afaik there's no generic interface to tell a given formatter to enter "check mode", I believe we can't add such a feature to blueprint automatically.

Describe the solution you'd like

treefmt-nix add the check to the wrapper's meta.tests.

Describe alternatives you've considered

Being sad about it and doing nothing.

Additional context

numtide/blueprint#31

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

No branches or pull requests

1 participant