diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | etc/guix/home.scm | 1 |
2 files changed, 7 insertions, 3 deletions
@@ -92,6 +92,9 @@ check-perlcritic: xargs awk '/^#!\/usr\/bin\/env perl$$/ { print FILENAME } { nextfile }' | \ xargs perlcritic --exclude=subroutine +check-nixfmt: + git ls-files | sor 'test -f' | grep -E '\.nix$$' | xargs nixfmt -c + FIXME-excludes = \ ':(exclude)Makefile' \ ':(exclude)etc/git/ignore' \ @@ -139,9 +142,9 @@ check-sync: exit 1; \ fi -check: check-shellcheck check-perlcritic check-fixme check-dirty-public \ - check-dirty-private check-dirty-pass check-opt check-pod \ - check-sync +check: check-shellcheck check-perlcritic check-nixfmt check-fixme \ + check-dirty-public check-dirty-private check-dirty-pass \ + check-opt check-pod check-sync @cd $(PRIV_CONFIG) && $(MAKE) $@ clean: diff --git a/etc/guix/home.scm b/etc/guix/home.scm index a84a2a0..f81b0cd 100644 --- a/etc/guix/home.scm +++ b/etc/guix/home.scm @@ -352,6 +352,7 @@ pv ;; telnet httpd ;; for htpasswd + nixfmt ;; for compiling ECL libatomic-ops |