mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19:08 +00:00
11 lines
227 B
Text
11 lines
227 B
Text
|
#!/usr/bin/env nix-shell
|
||
|
#!nix-shell ./shell.nix -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
|