mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
doc/nix fmt: Mention nixfmt-rfc-style instead of nixfmt(-classic)
This commit is contained in:
parent
b4790366a0
commit
3f6855c31b
@ -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;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user