nixfmt icon indicating copy to clipboard operation
nixfmt copied to clipboard

Discover Nix files

Open 9999years opened this issue 1 year ago • 1 comments

When run without any arguments and STDIN is a TTY, nixfmt should behave like nixfmt ., and discover all .nix files recursively.

9999years avatar Mar 08 '24 00:03 9999years

We are currently a bit undecided where Nixfmt should have any of these features at all, see #151. But if we decide in favor, then this is something we'd likely want as well. I also agree that either way the current behavior is not a good UX

piegamesde avatar Mar 08 '24 07:03 piegamesde

In #151 we decided to not further support this directory functionality in the future. We'll keep that issue open for now though.

infinisil avatar Apr 02 '24 18:04 infinisil

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-04-02/42658/1

nixos-discourse avatar Apr 02 '24 19:04 nixos-discourse