hol_light: build against the default OCaml (5.4)#525966
Merged
Merged
Conversation
camlp5's META requires pcre2 and fmt, but they were only buildInputs, so findlib consumers of camlp5 could not resolve them. Move them to propagatedBuildInputs.
Build against the default OCaml (5.4) set instead of the 5.3 pin, using the module-mode launcher (ocaml-hol). Carries a patch so the pa_j chooser accepts camlp5 8.05, links findlib into ocaml-hol, and sets up the runtime OCAMLPATH/CAML_LD_LIBRARY_PATH. Drops the camlp5 8.03.2 downgrade.
8877ef5 to
7579aa2
Compare
Contributor
Author
|
Contributor
Author
|
Contributor
Author
|
The prooftree build on aarch64-darwin fails due to the ocaml-4.12.1 and gtksourceview-2.10.5 builds failing - so that's unrelated to this PR. |
Contributor
Author
|
@vbgl, could you take a look please? |
Contributor
|
Successfully created backport PR for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates HOL-Light to the latest upstream version and switches it to the default OCaml (5.4) on the way.
I had to also propagate
pcre2andfmtincamlp5as the newer version's findlib META requires it.I've aligned the hol_light package a bit with other packages. I have tested that downstream HOL-Light proofs in mlkem-native work fine with the new package: pq-code-package/mlkem-native#1712.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.