forked from purescript/purescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.yaml
44 lines (44 loc) · 1.26 KB
/
stack.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Please update Haskell image versions under .github/workflows/ci.yml together to use the same GHC version
# (or the CI build will fail)
resolver: lts-20.26
pvp-bounds: both
packages:
- '.'
ghc-options:
# Build with advanced optimizations enabled by default
"$locals": -O2 -Werror
extra-deps:
# As of 2021-11-08, the latest release of `language-javascript` is 0.7.1.0,
# but it has a problem with parsing the `async` keyword. It doesn't allow
# `async` to be used as an object key:
# https://github.com/erikd/language-javascript/issues/131
- language-javascript-0.7.0.0
# Fix issue with libtinfo.
# See https://github.com/purescript/purescript/issues/4253
- process-1.6.13.1
# The Cabal library is not in Stackage
- Cabal-3.6.3.0
# hspec versions 2.9.3 to 2.10.6 depend on ghc
# ghc depends on terminfo by default, but that can be ignored
# if one uses the '-terminfo' flag.
# Unfortunately, hspec doesn't expose a similar flag.
#
# Using hspec >= 2.10.7 addresses this.
- hspec-2.10.9
- hspec-core-2.10.9
- hspec-discover-2.10.9
nix:
packages:
- zlib
# Test dependencies
- nodejs
- nodePackages.npm
- nodePackages.bower
flags:
aeson-pretty:
lib-only: true
these:
assoc: false
haskeline:
# Avoids a libtinfo dynamic library dependency
terminfo: false