From 0156fdc012f01cd1e6eb92f831c7a6d2ede82c46 Mon Sep 17 00:00:00 2001 From: Thibaut Mattio Date: Mon, 16 Nov 2020 20:05:05 +0100 Subject: [PATCH] Rename opam command function --- bin/external_lib_deps.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/external_lib_deps.ml b/bin/external_lib_deps.ml index ee81353106d4..ca1c768c91e6 100644 --- a/bin/external_lib_deps.ml +++ b/bin/external_lib_deps.ml @@ -46,7 +46,7 @@ let all_lib_deps ~request = |> Context_name.Map.map ~f:(Path.Source.Map.of_list_reduce ~f:Lib_deps_info.merge) -let populate_opam_command ?switch_name packages = +let opam_install_command ?switch_name packages = let cmd = match switch_name with | Some name -> Printf.sprintf "opam install --switch=%s" name @@ -120,7 +120,7 @@ let run ~lib_deps ~by_dir ~setup ~only_missing ~sexp = ] ~hints: [ Dune_engine.Utils.pp_command_hint - (populate_opam_command ?switch_name required_package_names) + (opam_install_command ?switch_name required_package_names) ]); true ) else if sexp then (