Skip to content

Proposal: upstream this project to nixpkgs #349

@jfly

Description

@jfly

nixpkgs recently landed treefmt.withConfig. It's difficult to explain to people when they should use treefmt.withConfig vs treefmt-nix.

For example, see this difficult-to-write nix.dev doc on autoformatting, this revert of that doc, and this conversation.

I think we could address this confusion by upstreaming treefmt-nix to nixpkgs. When we do so, we could either re-implement it with treefmt.withConfig under the hood, or (my preference) just merge it with treefmt.withConfig.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions