Nix 2.30.0
Nix, the purely functional package manager; unstable internal interfaces
|
R""(
nix fmt (an alias for nix formatter run) calls the formatter specified in the flake.
Flags can be forwarded to the formatter by using -- followed by the flags.
Any arguments will be forwarded to the formatter. Typically these are the files to format.
The environment variable PRJ_ROOT (according to prj-spec) will be set to the absolute path to the directory containing the closest parent flake.nix relative to the current directory.
To use the official Nix formatter:
)""