Skip to content

Commit 0679e7f

Browse files
committed
Update opam command line as per ocaml/opam#6136.
1 parent 45a5583 commit 0679e7f

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

lib/query.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ let run { conn } job { Key.variant; lower_bound; pool } { Value.image } =
124124
@ prepare_image ~variant
125125
@ [
126126
run
127-
"echo '@@@OUTPUT' && opam list -s --color=never --base --roots \
128-
--all-versions ocaml-base-compiler ocaml-variants ocaml-system && \
129-
echo '@@@OUTPUT'";
127+
"echo '@@@OUTPUT' && opam list -s --color=never --installed \
128+
ocaml-base-compiler ocaml-variants ocaml-system --column package \
129+
&& echo '@@@OUTPUT'";
130130
run "echo '@@@OUTPUT' && opam config expand '%s' && echo '@@@OUTPUT'"
131131
(opam_template arch);
132132
])

lib/query_local.ml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,13 @@ let get_ocaml_package ~docker_context image =
9494
"opam";
9595
"list";
9696
"-s";
97-
"--base";
98-
"--roots";
99-
"--all-versions";
97+
"--color=never";
98+
"--installed";
10099
"ocaml-base-compiler";
101100
"ocaml-variants";
102101
"ocaml-system";
102+
"--column";
103+
"package";
103104
]
104105

105106
let run { pool } job { Key.docker_context; variant; lower_bound }

stack.yml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ services:
3838
--capnp-public-address=tcp:ocaml.ci.dev:8102 --capnp-listen-address=tcp:0.0.0.0:9000
3939
--submission-service /run/secrets/ocaml-ci-submission-cap
4040
--submission-solver-service /run/secrets/ocaml-ci-solver-cap
41+
--submission-query-service /run/secrets/ocaml-ci-submission-cap
4142
--migration-path /migrations
4243
--verbosity info
4344
--github-account-allowlist GITHUB_ORGANISATIONS

0 commit comments

Comments
 (0)