File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ cabal.project.local
9
9
.DS_Store
10
10
* .swp
11
11
* .keter
12
+ /result
Original file line number Diff line number Diff line change 1
- { nixpkgs ? import <nixpkgs> { }
2
- , compiler ? "ghc865 "
1
+ { pkgs ? import <nixpkgs> { }
2
+ , compiler ? "ghc884 "
3
3
, doCheck ? true
4
4
} :
5
5
let
6
- inherit ( nixpkgs ) pkgs ;
7
6
haskellPackages = pkgs . haskell . packages . ${ compiler } . override {
8
7
overrides = self : super : {
9
8
} ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ library
36
36
, filepath
37
37
, text >= 1.2 && < 2
38
38
, mtl >= 2.2 && < 3
39
- , pandoc-types >= 1.22 && <= 1.22
39
+ , pandoc-types >= 1.20 && <= 1.22
40
40
, containers
41
41
42
42
@@ -45,7 +45,7 @@ executable pandoc-include-code
45
45
main-is : Main.hs
46
46
other-modules : Paths_pandoc_include_code
47
47
build-depends : base >= 4 && < 5
48
- , pandoc-types >= 1.22 && <= 1.22
48
+ , pandoc-types >= 1.20 && <= 1.22
49
49
, pandoc-include-code
50
50
51
51
test-suite filter-tests
@@ -55,7 +55,7 @@ test-suite filter-tests
55
55
, Paths_pandoc_include_code
56
56
main-is : Driver.hs
57
57
build-depends : base >= 4 && < 5
58
- , pandoc-types >= 1.22 && <= 1.22
58
+ , pandoc-types >= 1.20 && <= 1.22
59
59
, pandoc-include-code
60
60
, tasty
61
61
, tasty-hunit
Original file line number Diff line number Diff line change 1
- { nixpkgs ? import <nixpkgs> { }
2
- , compiler ? "ghc865"
3
- } :
4
- nixpkgs . pkgs . haskellPackages . shellFor {
1
+ { pkgs ? import <nixpkgs> { } , compiler ? "ghc884" } :
2
+ let
3
+ haskellPackages = pkgs . haskell . packages . ${ compiler } . override {
4
+ overrides = self : super : { } ;
5
+ } ;
6
+ in haskellPackages . shellFor {
5
7
withHoogle = true ;
6
- packages = p : [ ( import ./. { inherit compiler nixpkgs ; } ) ] ;
7
- buildInputs = with nixpkgs . pkgs ; [
8
- pandoc
9
- ] ;
8
+ packages = p : [ ( import ./. { inherit compiler pkgs ; } ) ] ;
9
+ buildInputs = with pkgs ; [ cabal-install pandoc ] ;
10
10
}
You can’t perform that action at this time.
0 commit comments