rgrinberg / opium

Sinatra like web toolkit for OCaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rosalogia opened this issue · comments

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

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

Thanks! Should this be updated in the README?

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