Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing an old version of Coq via opam-nix fails, related to coq-stdlib #48

Closed
Coda-Coda opened this issue Jul 17, 2023 · 2 comments
Closed

Comments

@Coda-Coda
Copy link

Describe the bug
Old versions of Coq listed in an opam file fail to install, likely due to: 5bfdc95 ocaml.nix - line 133 and that coq-stdlib is only for newer versions of Coq.

To Reproduce
An opam file with: "coq" {>= "8.10" & < "8.11.0" } fails to build when following the standard instructions in the README of opam-nix with the error: error: attribute 'coq-stdlib' missing.

It seems that coq-of-ocaml is possibly meant as an alternative to writing coq. Using this still does not work, giving the error No agreement on the version of coq-of-ocaml.

(Using nix develop to trigger a build of Coq).

Expected behavior
An opam file with "coq" {>= "8.10" & < "8.11.0" } would succeed at building Coq following the instructions of the README.

Environment

  • OS name + version: NixOS
  • Version of the code: 5bfdc95

Additional context
Reverting 5bfdc95 fixes the issue.

@balsoft
Copy link
Collaborator

balsoft commented Jul 17, 2023

Hi, thanks for reporting!

Should be fixed now. Could you confirm and reopen otherwise?

@Coda-Coda
Copy link
Author

Hi @balsoft, thanks for the fix! Yes I can confirm that does fix this issue. However, I've now raised #49 which is related. I did try to fix it myself but was not able to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants