#!/usr/bin/env nix-shell
#! nix-shell ../shell.nix -i bash
set -xe
find src -name \*.hs | xargs ormolu -m inplace -o -XImportQualifiedPost -o -XTypeApplications
nixpkgs-fmt *.nix
cabal-fmt -i *.cabal