timbertson / opam2nix

Generate nix expressions from opam packages
MIT License
93 stars 28 forks source link

Wrong version of jbuilder used #7

Closed bobot closed 6 years ago

bobot commented 6 years ago

When trying the current version of opam2nix-repository, I obtain this error. It should come from here.

File "src/jbuild", line 32, characters 8-18:
Error: Unknown constructor universe

Migrating to dune would perhaps fix things since the language is now fixed at a given version.

bobot commented 6 years ago

The channel is perhaps just the culprit. using pkgs-unstable works better.

timbertson commented 6 years ago

Yeah, that's it I'm afraid - universe is newish, but the old workaround I was using stopped working in a recent version too so I had to pick one.