Merge pull request #335829 from tweag/format-shell-message

workflows/check-nix-format: Better `nix-shell` message
This commit is contained in:
Silvan Mosberger
2024-08-20 18:25:46 +02:00
committed by GitHub
+1 -1
View File
@@ -83,7 +83,7 @@ jobs:
if (( "${#unformattedFiles[@]}" > 0 )); then
echo "Some new/changed Nix files are not properly formatted"
echo "Please run the following in \`nix-shell\`:"
echo "Please go to the Nixpkgs root directory, run \`nix-shell\`, then:"
echo "nixfmt ${unformattedFiles[*]@Q}"
exit 1
fi