-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcabal.project
More file actions
33 lines (29 loc) · 1.15 KB
/
Copy pathcabal.project
File metadata and controls
33 lines (29 loc) · 1.15 KB
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
-- should be an absolute path to your custom compiler
--with-compiler: /home/ghc/_build/stage1/bin/ghc
packages: .
optimization: False
-- The generated cabal.project.local has exact constraints for every (non-boot)
-- package in the snapshot to ensure we build the same packages every time.
-- We still want this to override individual package constraints e.g.
-- web-rep has had an overly tight bound that excludes the transformers from
-- the snapshot. The allow-newer ignores the error.
allow-newer: *:*
allow-older: *:*
constraints: bson -_old-network
-- cabal2spec requires Cabal-syntax < 3.15
constraints: any.Cabal < 3.15
constraints: any.Cabal-syntax < 3.15
constraints: hlint +ghc-lib
constraints: ghc-lib-parser-ex -auto
-- There are two valid configurations for mysql-haskell:
--
-- 1. crypton < 1.1, memory, and -crypton-1-1.
-- 2. crypton >= 1.1, ram, and +crypton-1-1.
--
-- The crypton in the snapshot is >= 1.1, hence we need to explicitly set this
-- automatic flag to true.
constraints: mysql-haskell +crypton-1-1
constraints: path +os-string
constraints: stylish-haskell +ghc-lib
-- Package coco requires text >= 2.14.
constraints: any.text >= 2.1.4