Add Stack files for different GHC versions

This commit is contained in:
John J. Camilleri
2018-12-04 10:32:26 +01:00
parent ee5ac81dfc
commit 6ad9bf3dbf
6 changed files with 61 additions and 2 deletions

11
stack-ghc7.10.3.yaml Normal file
View File

@@ -0,0 +1,11 @@
resolver: lts-6.35 # ghc 7.10.3
packages:
- . # GF, PGF
- src/runtime/haskell-bind # PGF2 (requires C runtime to be installed)
extra-deps:
flags:
gf:
server: true

11
stack-ghc8.0.2.yaml Normal file
View File

@@ -0,0 +1,11 @@
resolver: lts-9.21 # ghc 8.0.2
packages:
- . # GF, PGF
- src/runtime/haskell-bind # PGF2 (requires C runtime to be installed)
extra-deps:
flags:
gf:
server: true

14
stack-ghc8.2.2.yaml Normal file
View File

@@ -0,0 +1,14 @@
resolver: lts-11.22 # ghc 8.2.2
packages:
- . # GF, PGF
- src/runtime/haskell-bind # PGF2 (requires C runtime to be installed)
extra-deps:
- cgi-3001.3.0.2
- httpd-shed-0.4.0.3
- time-1.6.0.1 # cgi-3001.3.0.2: time-1.8.0.2 from stack configuration does not match >=1.5 && <1.7
flags:
gf:
server: true

12
stack-ghc8.4.3.yaml Normal file
View File

@@ -0,0 +1,12 @@
resolver: lts-12.14 # ghc 8.4.3
packages:
- . # GF, PGF
- src/runtime/haskell-bind # PGF2 (requires C runtime to be installed)
extra-deps:
- cgi-3001.3.0.3
flags:
gf:
server: true

13
stack-ghc8.6.2.yaml Normal file
View File

@@ -0,0 +1,13 @@
resolver: nightly-2018-12-04 # ghc 8.6.2
packages:
- . # GF, PGF
- src/runtime/haskell-bind # PGF2 (requires C runtime to be installed)
extra-deps:
- json-0.9.2
- network-2.6.3.6
flags:
gf:
server: true

View File

@@ -5,8 +5,6 @@ packages:
- src/runtime/haskell-bind # PGF2 (requires C runtime to be installed)
extra-deps:
# - happy-1.19.9
# - alex-3.2.4
- cgi-3001.3.0.2
- httpd-shed-0.4.0.3
- time-1.6.0.1 # cgi-3001.3.0.2: time-1.8.0.2 from stack configuration does not match >=1.5 && <1.7