rgrinberg / opium

Sinatra like web toolkit for OCaml
MIT License
755 stars 67 forks source link

Opam produces a warning about rock being an unknown package when installing via pin #224

Closed rosalogia closed 3 years ago

rosalogia commented 3 years ago

The README currently suggests that the version of opium on the master branch of the repository can be obtained via opam using the following commands

$ opam pin add rock --dev-repo
$ opam pin add opium --dev-repo

However, this seems to produce a warning as opam is unable to find rock as a dependency. Why might this be? image

tmattio commented 3 years ago

Hi @rosalogia!

rock is not published on Opam yet, so you have to give Opam the repo's URL:

opam pin add rock.~dev https://github.com/rgrinberg/opium.git
opam pin add opium.~dev https://github.com/rgrinberg/opium.git
rosalogia commented 3 years ago

Thanks! Should this be updated in the README?

tmattio commented 3 years ago

Yes - I'll update the instructions to install the master version 👍