Commit d0bebb7d authored by Silvan Mosberger's avatar Silvan Mosberger
Browse files

workflows/check-nix-format: strip newline from file listings

Otherwise it prints the command to run with an empty entry:

  nixfmt '<stuff>' ''

Thanks to https://yaml-multiline.info/ for the great help with this
parent 53b517c6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -40,14 +40,14 @@ jobs:
          NIX_FMT_PATHS_BSD: pkgs/os-specific/bsd
          NIX_FMT_PATHS_MPVSCRIPTS: pkgs/applications/video/mpv/scripts
          # Format paths related to the Nixpkgs CUDA ecosystem.
          NIX_FMT_PATHS_CUDA: |
          NIX_FMT_PATHS_CUDA: |-
            pkgs/development/cuda-modules
            pkgs/test/cuda
            pkgs/top-level/cuda-packages.nix
          NIX_FMT_PATHS_MAINTAINERS: |
          NIX_FMT_PATHS_MAINTAINERS: |-
            maintainers/maintainer-list.nix
            maintainers/team-list.nix
          NIX_FMT_PATHS_K3S: |
          NIX_FMT_PATHS_K3S: |-
            nixos/modules/services/cluster/k3s
            nixos/tests/k3s
            pkgs/applications/networking/cluster/k3s