Skip to content

Commit 8e614ad

Browse files
authored
ci: Format nixfmt command prominently (NixOS#373939)
2 parents 40bbd31 + c98e26a commit 8e614ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/check-nix-format.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ jobs:
9191
if (( "${#unformattedFiles[@]}" > 0 )); then
9292
echo "Some new/changed Nix files are not properly formatted"
9393
echo "Please format them using the Nixpkgs-specific \`nixfmt\` by going to the Nixpkgs root directory, running \`nix-shell\`, then:"
94+
echo
9495
echo "nixfmt ${unformattedFiles[*]@Q}"
95-
echo "Make sure your branch is up to date with master, rebase if not."
96+
echo
97+
echo "Make sure your branch is up to date with master; rebase if not."
9698
echo "If you're having trouble, please ping @NixOS/nix-formatting"
9799
exit 1
98100
fi

0 commit comments

Comments
 (0)