Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 521

`opam install --deps-only .` still doesn't work

$
0
0

I have a dune-project with multiple package stanzas (not sure if this matters, but I’m mentioning it in case it does); the dune-project manages the .opam files automatically. When I build using:

opam install --deps-only .

the specified package dependencies are not installed. Likewise, when I call

opam pin add -y .

the specified package dependenceis are not installed.

I have been having this problem on and off for three or four years, and I’m really at a loss as to what I need to do to get a reproducible one-command build with OCaml — without just calling opam install . a bunch of times, manually reading the error message, and then installing something by hand. Does anyone know how to fix this?

Thanks!

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles