refactor(nix): improve formatting check
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m2s

This commit is contained in:
Price Hiller 2024-06-28 03:22:50 -05:00
parent aaaa4e30f5
commit cc8a17c593
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -115,14 +115,13 @@
pkgs.runCommand "check-fmt" pkgs.runCommand "check-fmt"
{ {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
findutils fd
(import ./pkgs { inherit pkgs; }).Fmt (import ./pkgs { inherit pkgs; }).Fmt
]; ];
} }
'' ''
set -euo pipefail set -eEuo pipefail
cd "${self}" fd --exec-batch=Fmt
find . -type f | xargs Fmt
touch $out touch $out
''; '';
}); });