From 87471b0d89c0c9d7624469276770be5b9151edaf Mon Sep 17 00:00:00 2001 From: "Haochen M. Kotoi-Xie" Date: Fri, 16 Feb 2024 21:46:55 +0900 Subject: [PATCH] ocaml-general - (5.1 only) pin dune related packages to 3.10.0 (2) (#47) * ocaml-general - (5.1 only) pin dune related packages to 3.10.0 (2) --- ocaml-general/install_ocaml_5.1_packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml-general/install_ocaml_5.1_packages.sh b/ocaml-general/install_ocaml_5.1_packages.sh index b0ed73b..5884b38 100755 --- a/ocaml-general/install_ocaml_5.1_packages.sh +++ b/ocaml-general/install_ocaml_5.1_packages.sh @@ -41,11 +41,11 @@ pins=( dune-site 3.10.0 ) +echo "${pins[@]}" | xargs -n 2 opam pin -n add + opam install --yes "${packages[@]}" \ && opam clean -y --logs --repo-cache --download-cache --switch-cleanup -echo "${pins[@]}" | xargs -n 2 opam pin -n add - echo -n "exec: " printf "%s\n" "${packages[@]}" | cut -d'.' -f1 | xargs echo opam show -f package printf "%s\n" "${packages[@]}" | cut -d'.' -f1 | xargs opam show -f package