[opamlock] fix opam.lock target

Summary:
Forgot to substitute "infer" for "infer-lock-deps" and so `make opam.lock` was
failing if `infer` has not been manually pinned (which I didn't notice
previously because I had it git-pinned for some reason...).

Reviewed By: martinoluca

Differential Revision: D5310206

fbshipit-source-id: c023659
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent f8b8dd1abb
commit ee67e09cdf

@ -536,7 +536,7 @@ opam.lock: opam
$(QUIET)$(call silent_on_success,installing dependencies $(INFER_PKG_OPAMLOCK) opam package,\ $(QUIET)$(call silent_on_success,installing dependencies $(INFER_PKG_OPAMLOCK) opam package,\
OPAMSWITCH=$(OPAMSWITCH); \ OPAMSWITCH=$(OPAMSWITCH); \
$(OPAM) pin add --yes --no-action -k git $(INFER_PKG_OPAMLOCK) .#HEAD; \ $(OPAM) pin add --yes --no-action -k git $(INFER_PKG_OPAMLOCK) .#HEAD; \
$(OPAM) install --deps-only --yes infer) $(OPAM) install --deps-only --yes $(INFER_PKG_OPAMLOCK))
$(QUIET)$(call silent_on_success,generating opam.lock,\ $(QUIET)$(call silent_on_success,generating opam.lock,\
$(OPAM) lock --pkg $(INFER_PKG_OPAMLOCK) > opam.lock) $(OPAM) lock --pkg $(INFER_PKG_OPAMLOCK) > opam.lock)

Loading…
Cancel
Save