Install this package:
emerge -a dev-util/nixfmt
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-util/nixfmt
Or alternatively:
emerge --autounmask-write -a dev-util/nixfmt
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.6.0 | 8 | ~amd64 | 0/0.6.0 |
<pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> <longdescription> nixfmt is the official, but not yet stable, formatter for Nix code. It formats Nix code to a consistent style to increase code readability and reduce the cognitive overhead for both reading and writing code. </longdescription> <upstream> <remote-id type="hackage">nixfmt</remote-id> <remote-id type="github">NixOS/nixfmt</remote-id> </upstream> </pkgmetadata>
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | nixfmt-0.6.0.tar.gz | 26580 bytes |