Makefile: Force-install Hex before calling `mix deps.get`
This should resolve the issue where the build is stuck on the "Shall I install Hex?" interactive prompt. [#153358632]
This commit is contained in:
parent
2ea5d55e2c
commit
57c89e61c6
1
Makefile
1
Makefile
|
|
@ -141,6 +141,7 @@ $(SOURCE_DIST): $(ERLANG_MK_RECURSIVE_DEPS_LIST)
|
|||
mix_exs=$@/deps/$$(basename $$dep)/mix.exs; \
|
||||
if test -f $$mix_exs; then \
|
||||
(cd $$(dirname "$$mix_exs") && \
|
||||
env DEPS_DIR=$@/deps HOME=$@/deps MIX_ENV=prod FILL_HEX_CACHE=yes mix local.hex --force && \
|
||||
env DEPS_DIR=$@/deps HOME=$@/deps MIX_ENV=prod FILL_HEX_CACHE=yes mix deps.get && \
|
||||
cp $(DEPS_DIR)/rabbit_common/mk/rabbitmq-mix.mk . && \
|
||||
rm -rf _build deps); \
|
||||
|
|
|
|||
Loading…
Reference in New Issue