poetry2nix/check-fmt
2019-12-13 18:35:18 +01:00

10 lines
215 B
Text
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash
#
# Just because the nixpkgs-fmt error message is not super readable. Used by
# CI.
if ! nixpkgs-fmt --check . ; then
echo 'run `nixpkgs-fmt .` to fix it'
exit 1
fi