1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 21:51:50 +02:00

doc/nix fmt: Do not document behavior we do not control

This leads to confusion about what the command does.
E.g. https://github.com/NixOS/nix/issues/9359

- Move the description up

- Remove details about the individual formatters

(cherry picked from commit 8c4842de8c)
This commit is contained in:
Robert Hensing 2024-09-29 18:42:38 +02:00 committed by Mergify
parent e0c8b0fc4f
commit 24e63b14e5
2 changed files with 10 additions and 16 deletions

View file

@ -11,7 +11,7 @@ cp ./simple.nix ./simple.builder.sh ./fmt.simple.sh ./config.nix $TEST_HOME
cd $TEST_HOME
nix fmt --help | grep "Format"
nix fmt --help | grep "forward"
cat << EOF > flake.nix
{