From 1010b9e49a1a8b376e3e7e8be10dee730a489f0f Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Sat, 3 Nov 2018 14:28:31 +0100 Subject: Add stack file, using image for GHC 8.2.2 --- stack.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 stack.yaml (limited to 'stack.yaml') diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 000000000..22e10f58a --- /dev/null +++ b/stack.yaml @@ -0,0 +1,25 @@ +resolver: lts-11.22 # ghc 8.2.2 + +packages: +- . +- src/server +# - src/tools +- src/runtime/haskell +# - src/pgf-binary +- src/runtime/haskell-bind + +extra-deps: +- cgi-3001.3.0.2 # gf, gf-server +# - fastcgi-3001.0.2.4 # gf-server +- httpd-shed-0.4.0.3 # gf, gf-server +- 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 + +# Override default flag values for local packages and extra-deps +flags: + gf-server: + fastcgi: false +# gf: +# server: true + +# Allow a newer minor version of GHC than the snapshot specifies +compiler-check: newer-minor -- cgit v1.2.3 From 4958aab518a46fa294b861a5ff61d1fdafb72793 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Mon, 5 Nov 2018 09:59:06 +0100 Subject: Add happy and alex as deps in Stack file --- stack.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stack.yaml') diff --git a/stack.yaml b/stack.yaml index 22e10f58a..743273a19 100644 --- a/stack.yaml +++ b/stack.yaml @@ -9,6 +9,8 @@ packages: - src/runtime/haskell-bind extra-deps: +- happy-1.19.9 +- alex-3.2.4 - cgi-3001.3.0.2 # gf, gf-server # - fastcgi-3001.0.2.4 # gf-server - httpd-shed-0.4.0.3 # gf, gf-server -- cgit v1.2.3 From d46682bc292752fdd97c7d76c60eb902a58db1d7 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Wed, 7 Nov 2018 09:57:45 +0100 Subject: Clean up stack file Removed alex/happy as build-deps, if needed they can be installed with `stack install alex happy` --- stack.yaml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'stack.yaml') diff --git a/stack.yaml b/stack.yaml index 743273a19..9325b2430 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,27 +1,16 @@ resolver: lts-11.22 # ghc 8.2.2 packages: -- . -- src/server -# - src/tools -- src/runtime/haskell -# - src/pgf-binary -- src/runtime/haskell-bind +- . # GF, PGF +- 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 # gf, gf-server -# - fastcgi-3001.0.2.4 # gf-server -- httpd-shed-0.4.0.3 # gf, gf-server +# - 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 -# Override default flag values for local packages and extra-deps flags: - gf-server: - fastcgi: false -# gf: -# server: true - -# Allow a newer minor version of GHC than the snapshot specifies -compiler-check: newer-minor + gf: + server: true -- cgit v1.2.3