diff --git a/.pre-commit-entry.sh b/.pre-commit-entry.sh index 4f72a41..190c2a2 100755 --- a/.pre-commit-entry.sh +++ b/.pre-commit-entry.sh @@ -7,7 +7,7 @@ if ! command -v nix-build; then exit 1 fi -if !command -v nix-instantiate; then +if ! command -v nix-instantiate; then echo 'ERROR: this pre-commit hook requires "nix-instantiate" to be installed first' exit 1 fi