Unverified Commit 8e614ad4 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

ci: Format `nixfmt` command prominently (#373939)

parents 40bbd31b c98e26ae
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -91,8 +91,10 @@ jobs:
          if (( "${#unformattedFiles[@]}" > 0 )); then
            echo "Some new/changed Nix files are not properly formatted"
            echo "Please format them using the Nixpkgs-specific \`nixfmt\` by going to the Nixpkgs root directory, running \`nix-shell\`, then:"
            echo
            echo "nixfmt ${unformattedFiles[*]@Q}"
            echo "Make sure your branch is up to date with master, rebase if not."
            echo
            echo "Make sure your branch is up to date with master; rebase if not."
            echo "If you're having trouble, please ping @NixOS/nix-formatting"
            exit 1
          fi