Closed ralsei closed 2 years ago
https://github.com/RedPRL/bantorra/blob/1e78633d9a2ef7104552a24585bb8bea36d4117b/bantorra.opam doesn't specify its version
in any way, so opam-nix
resorts to adding it as packages/bantorra/bantorra.dev
. I wonder how opam deals with this when "building manually". Could you provide some example commands which work for you?
As a workaround, you can either
version
in the bantorra.opam
packageAh, sorry, I just realised that the version is specified right there in pin-depends
:facepalm:. I'll fix this.
Please check if this is fixed :)
Whoops, sorry, the first commit was broken. This one should be better.
Works fine, thanks!
Describe the bug When placing version bounds in
depends
as well as having apin-depend
for the same dependency, opam-nix (or its call to OPAM) fails to verify that the package is of the correct version (despite running OPAM manually succeeding):To Reproduce
flake.nix
is exactly the same as in #12.cooltt.opam
(different):Expected behavior It should find the package and build normally.
Environment