doc/nix fmt: Mention nixfmt-rfc-style instead of nixfmt(-classic)

This commit is contained in:
myclevorname 2024-11-17 14:12:27 -05:00 committed by GitHub
parent b4790366a0
commit 3f6855c31b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,13 +22,13 @@ With [nixpkgs-fmt](https://github.com/nix-community/nixpkgs-fmt):
}
```
With [nixfmt](https://github.com/serokell/nixfmt):
With [nixfmt](https://github.com/NixOS/nixfmt):
```nix
# flake.nix
{
outputs = { nixpkgs, self }: {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt;
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}
```