aboutsummaryrefslogtreecommitdiff
path: root/scripts/assert-nixfmt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/assert-nixfmt.sh')
-rwxr-xr-xscripts/assert-nixfmt.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/assert-nixfmt.sh b/scripts/assert-nixfmt.sh
deleted file mode 100755
index 9bdd3bf..0000000
--- a/scripts/assert-nixfmt.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-set -eux
-
-# shellcheck disable=2094
-nixfmt < default.nix | diff - default.nix || {
- echo 'The file default.nix is unformatted. To fix it, run:'
- echo ' nixfmt default.nix'
- exit 1
-}