nix: run hlint on multiple threads

This commit is contained in:
Taimoor Zaeem
2025-06-30 12:14:06 -05:00
committed by Steve Chavez
parent 4a0eb7febe
commit e37385c893
+1 -1
View File
@@ -74,7 +74,7 @@ let
echo "Linting Haskell files..."
# --vimgrep fixes a bug in ag: https://github.com/ggreer/the_silver_searcher/issues/753
${silver-searcher}/bin/ag -l --vimgrep -g '\.l?hs$' . \
| xargs ${hlint}/bin/hlint -X QuasiQuotes -X NoPatternSynonyms
| xargs ${hlint}/bin/hlint -j -X QuasiQuotes -X NoPatternSynonyms
'';
in