Skip to content

nix formatter build incorrectly accepts --file and --expr arguments #16281

Description

@xokdvium

I'm very confused tbh. The whole --file and --expr machinery seems very hacked in. The whole nix formatter build command is pointless with --file or --expr because it has nothing to do with a formatter. We should just ban it.

Originally posted by @xokdvium in #15895

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcliThe old and/or new command line interfacenew-cliRelating to the "nix" command

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions