Skip to content

Commit 0025f6c

Browse files
Merge pull request #2297 from Alizter/no-stdlib
don't depend on coq stdlib for Rocq >= 9.0
2 parents 228f8f3 + c2ed52e commit 0025f6c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

coq-hott.opam

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ authors: ["The HoTT Library Development Team"]
1515
license: "BSD-2-Clause"
1616
homepage: "http://homotopytypetheory.org/"
1717
bug-reports: "https://github.com/HoTT/HoTT/issues"
18-
depends: [
19-
"dune" {>= "3.13"}
20-
"coq" {>= "8.19.0"}
21-
"odoc" {with-doc}
22-
]
2318
build: [
2419
["dune" "subst"] {dev}
2520
[
@@ -35,3 +30,7 @@ build: [
3530
]
3631
]
3732
dev-repo: "git+https://github.com/HoTT/HoTT.git"
33+
depends: [
34+
"dune" {>= "3.13"}
35+
(("rocq-core" {>= "9.0"} & "coq-core" {>= "9.0"}) | "coq" {>= "8.19.0" & < "9~"})
36+
]

coq-hott.opam.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
depends: [
2+
"dune" {>= "3.13"}
3+
(("rocq-core" {>= "9.0"} & "coq-core" {>= "9.0"}) | "coq" {>= "8.19.0" & < "9~"})
4+
]

dune-project

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@
2424
(synopsis "The Homotopy Type Theory library")
2525
(description
2626
"To use the HoTT library, the following flags must be passed to coqc:\n -noinit -indices-matter\nTo use the HoTT library in a project, add the following to _CoqProject:\n -arg -noinit\n -arg -indices-matter\n")
27-
(depends
28-
(coq
29-
(>= 8.19.0))))
27+
(depends))

0 commit comments

Comments
 (0)