File tree Expand file tree Collapse file tree 2 files changed +31
-18
lines changed Expand file tree Collapse file tree 2 files changed +31
-18
lines changed Original file line number Diff line number Diff line change 1111 branches : [ master ]
1212
1313jobs :
14- # nix:
15- # runs-on: ubuntu-latest
16- #
17- # steps:
18- # - uses: actions/checkout@v2
19- # - uses: cachix/install-nix-action@v10
20- # - run: nix-build
14+ nix :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ with :
20+ fetch-depth : 0
21+ - uses : cachix/install-nix-action@v12
22+ - uses : cachix/cachix-action@v8
23+ with :
24+ name : coq
25+ - run : nix-build
2126
2227 opam :
2328 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11{ withEmacs ? false ,
22 nixpkgs ? ( fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/4aa5466cbc741097218a1c494a7b832a17d1967d.tar.gz ) ,
3- coq-version ? "8.11 " ,
3+ coq-version ? "8.12 " ,
44 print-env ? false
55} :
66with import nixpkgs {
7- # overlays = [ (super: self: {
8- # coqPackages = { "8.11" = super.coqPackages_8_11; }."${coq-version}".overrideScope' (self: super: {
9- # # Coq package override example:
10- # coq-elpi = super.coq-elpi.overrideAttrs (old: {
11- # name = "coq8.11-elpi-1.5.0";
12- # src = fetchTarball https://github.com/LPCIC/coq-elpi/archive/v1.5.0.tar.gz;
13- # });
14- # });
15- # coq = self.coqPackages.coq;
16- # })];
7+ overlays = [ ( super : self : {
8+ coqPackages = { "8.12" = super . coqPackages_8_12 ; } . "${ coq-version } " . overrideScope' ( self : super : {
9+ coq = super . coq . override {
10+ ocamlPackages = super . coq . ocamlPackages . overrideScope' ( self : super : {
11+ elpi = super . elpi . overrideAttrs ( old : {
12+ name = "elpi-1.12.0" ;
13+ src = fetchTarball https://github.com/LPCIC/elpi/archive/v1.12.0.tar.gz ;
14+ } ) ;
15+ } ) ;
16+ } ;
17+ # Coq package override example:
18+ coq-elpi = super . coq-elpi . overrideAttrs ( old : {
19+ name = "coq8.12-elpi-1.8.0" ;
20+ src = fetchTarball https://github.com/LPCIC/coq-elpi/archive/v1.8.0.tar.gz ;
21+ } ) ;
22+ } ) ;
23+ coq = self . coqPackages . coq ;
24+ } ) ] ;
1725} ;
1826let pgEmacs = emacsWithPackages ( epkgs : with epkgs . melpaStablePackages ; [ proof-general ] ) ; in
1927coqPackages . hierarchy-builder . overrideAttrs ( old : {
You can’t perform that action at this time.
0 commit comments