[opam] correct use of `--locked`

Summary: Turns out we were using it wrong and that's why the lock wasn't working. See https://github.com/ocaml/opam/issues/3694

Reviewed By: ezgicicek

Differential Revision: D13529136

fbshipit-source-id: 66c781e5f
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent 33aa07357f
commit d2600795db

@ -129,7 +129,7 @@ install_opam_deps () {
if [ "$USE_OPAM_LOCK" == yes ]; then
locked=--locked
fi
opam install --deps-only $locked infer "$INFER_ROOT"
opam install --deps-only infer "$INFER_ROOT" $locked
}
echo "initializing opam... " >&2

Loading…
Cancel
Save