1
0
forked from GitHub/gf-core

Update Stack files after testing with Stack v2

- Also bump up some minor GHC versions (8.4.3 -> 8.4.4, 8.6.2 -> 8.6.5)
- Should still work with Stack < v2 (tested in docker/haskell:8.2.2)
This commit is contained in:
John J. Camilleri
2019-08-28 10:57:21 +02:00
parent a7a592d93e
commit 724bf67295
9 changed files with 18 additions and 65 deletions

2
.gitignore vendored
View File

@@ -44,6 +44,8 @@ cabal.sandbox.config
.stack-work
DATA_DIR
stack*.yaml.lock
# Generated documentation (not exhaustive)
demos/index-numbers.html
demos/resourcegrammars.html

View File

@@ -1,11 +1 @@
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

View File

@@ -1,11 +1 @@
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

View File

@@ -1,14 +1,6 @@
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
- cgi-3001.3.0.3
- 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
- exceptions-0.10.2

View File

@@ -1,12 +0,0 @@
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

4
stack-ghc8.4.4.yaml Normal file
View File

@@ -0,0 +1,4 @@
resolver: lts-12.26 # ghc 8.4.4
extra-deps:
- cgi-3001.3.0.3

View File

@@ -1,13 +0,0 @@
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

5
stack-ghc8.6.5.yaml Normal file
View File

@@ -0,0 +1,5 @@
resolver: lts-14.3 # ghc 8.6.5
extra-deps:
- network-2.6.3.6
- httpd-shed-0.4.0.3

View File

@@ -1,14 +1,9 @@
# This default stack file is a copy of stack-ghc8.2.2.yaml
# But committing a symlink is probably a bad idea, so it's a real copy
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
- cgi-3001.3.0.3
- 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
- exceptions-0.10.2