-
Notifications
You must be signed in to change notification settings - Fork 193
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
[coq] Overlay for coq/coq#18385 #1951
Conversation
Are we missing the plugins field for the coq.theory stanzas? |
When I add the plugins field: diff --git a/theories/dune b/theories/dune
index 7e3073666..4139942ab 100644
--- a/theories/dune
+++ b/theories/dune
@@ -6,4 +6,5 @@
(coq.theory
(name HoTT)
+ (plugins coq-core.plugins.ltac coq-core.plugins.number_string_notation)
(package coq-hott))
I get:
So it seems there is some bad interaction with the plugin loading and noinit. |
That's an interesting bug due in Coq due to the workaround for ocaml/dune#5833 that was implemented in coqdep (cc: coq/coq#18165 ) So indeed, coqdep path normalization works fine for example in Coq's CI, however in build setups where Coq lives outside the build path, the normalization returns a path that is a bit non-sensical as it is relativized up to root. We need to think a bit more how to handle this, best would be to solve Dune's bug. |
9f8162f
to
994fb32
Compare
@@ -7,9 +7,9 @@ | |||
(** ** Plugins *) | |||
|
|||
(** Load the Ltac plugin. This is the tactic language we use for proofs. *) | |||
Declare ML Module "ltac_plugin". | |||
Declare ML Module "ltac_plugin:coq-core.plugins.ltac". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to work better (more backwards compat) with the semi-legacy loading syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(after coq/coq#18385 the legacy part is ignored and prints a deprecation warning)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix! I'm happy with this now.
No description provided.