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

mathcomp 1.6.1 and related fixes #22223

Merged
merged 3 commits into from Feb 11, 2017
Merged

mathcomp 1.6.1 and related fixes #22223

merged 3 commits into from Feb 11, 2017

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented Jan 28, 2017

Motivation for this change

The Coq libraries mathcomp, coquelicot, and interval are currently broken in nixpkgs with Coq-8.6.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

The mathcomp fix is as follows: the mathcomp install keeps its own copy of the ssreflect library (and therefore no longer uses it as input nor propagates it). This seems wrong, but I tested the interval library which depends on both mathcomp (directly) and ssreflect (through coquelicot) and that worked.

keeping old 2.1.1 version for Coq-8.4,
as newer versions of the library do not support older Coq versions
@Zimmi48
Copy link
Member

Zimmi48 commented Jan 29, 2017

I'm on NixOS and I can confirm that I can now run successfully the command:

From mathcomp Require algebra.ssrnum.

which was failing with Coq 8.6 and Math-Comp 1.6.1 before this change.

@vbgl vbgl merged commit 8bfce24 into NixOS:master Feb 11, 2017
@vbgl vbgl deleted the mathcomp-1.6.1 branch November 14, 2019 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants