Skip to content

Commit 3006577

Browse files
authored
Merge pull request #287 from NixOS/nixfmt-tree-note
2 parents 74a8d9a + 29ef29e commit 3006577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ collectNixFiles path = do
127127
warningPrinted <- get
128128
-- We don't want to print the warning more than once
129129
unless warningPrinted $ do
130-
lift $ hPutStrLn stderr $ "\ESC[33mPassing directories or non-Nix files (such as \"" <> path <> "\") is deprecated and will be unsupported soon, please use https://treefmt.com/ instead, e.g. via https://github.com/numtide/treefmt-nix\ESC[0m"
130+
lift $ hPutStrLn stderr $ "\ESC[33mPassing directories or non-Nix files (such as \"" <> path <> "\") is deprecated and will be unsupported soon. Please use the `pkgs.nixfmt-tree` wrapper instead, or https://github.com/numtide/treefmt-nix for more flexibility\ESC[0m"
131131
put True
132132

133133
-- | Recursively collect nix files in a list of directories

0 commit comments

Comments
 (0)