diff --git a/.evergreen/hatch.sh b/.evergreen/hatch.sh index 8a1654404a..e24320b9df 100644 --- a/.evergreen/hatch.sh +++ b/.evergreen/hatch.sh @@ -10,7 +10,7 @@ fi if $PYTHON_BINARY -m hatch --version; then run_hatch() { - $PYTHON_BINARY hatch run "$@" + $PYTHON_BINARY -m hatch run "$@" } else # No toolchain hatch present, set up virtualenv before installing hatch createvirtualenv "$PYTHON_BINARY" hatchenv