Skip to content

Commit f9368d9

Browse files
committed
updating local opam + commenting override example
1 parent 828737a commit f9368d9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

coq-hierarchy-builder.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dev-repo: "git+https://github.com/math-comp/hierarchy-builder"
1111
build: [ make ]
1212
install: [ make "install" "VFILES=structures.v" ]
1313
depends: [
14-
"coq" {>= "8.10.0" & < "8.12.0~" }
15-
"coq-elpi" {>= "1.3.0" & < "1.4.0~"}
14+
"coq" {>= "8.11.0" & < "8.12.0~" }
15+
"coq-elpi" {>= "1.4.0" & < "1.5.0~"}
1616
]
1717
synopsis: "Hierarchy Builder"
1818
description: """

default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
}:
99
with import nixpkgs {
1010
overlays = [ (super: self: {
11-
coqPackages = { "8.11" = super.coqPackages_8_11; }."${coq-version}";
11+
coqPackages = { "8.11" = super.coqPackages_8_11; }."${coq-version}".overrideScope' (self: super: {
12+
## Coq package override example:
13+
# coq-elpi = super.coq-elpi.overrideAttrs (old: {
14+
# name = "coq8.11-elpi-v1.4.0";
15+
# src = fetchTarball https://github.com/LPCIC/coq-elpi/archive/v1.4.0.tar.gz;
16+
});
1217
coq = self.coqPackages.coq;
1318
})];
1419
};

0 commit comments

Comments
 (0)