forked from haskell/hackage-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabal.project
69 lines (55 loc) · 2.21 KB
/
cabal.project
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
-- This project config requires cabal 2.4 or later
-- If in doubt, use GHC 8.8 to build hackage-server; see
-- 'tested-with' in 'hackage-server.cabal' for a list of currently
-- CI-validated GHC versions
--
-- with-compiler: ghc-8.8
packages: .
allow-newer: rss:time, rss:base
-----------------------------------------------------------------------------
-- Anti-constraints
-- make sure we don't accidentally pick up blacklisted packages
constraints: foundation -none, cryptonite -none, cryptohash -none
-----------------------------------------------------------------------------
-- Modded lib:Cabal
--
-- sometimes we need unreleased fixes
--
-- HACK: avoid `setup`-components picking up the local unreleased
-- Cabal-2.x in future we'll have a way to constraint to
-- local/non-local
--
-- Set this to the bound to the last known released lib:Cabal version
-- and make sure the local Git version is above the limit
-- constraints: setup.Cabal < 2.4.1.99
--
-- source-repository-package
-- type: git
-- location: https://github.com/hvr/cabal.git
-- tag: d5854e8168c390c42ae0ce6665de00e4ca1faa78
-- subdir: Cabal
----------------------------------------------------------------------------
-- Stricter compatibility checking with legacy versions of cabal parsers
--
-- Use of `cabal-parsers` currently limits the GHC version to 8.2.2 or older
--
-- NB: In order for `cabal-parsers` to have any effect, enable the
-- cabal flag setting `+cabal-parsers` below!
-- source-repository-package
-- type: git
-- location: https://github.com/hvr/cabal-parsers.git
-- tag: 893d128f7680bedafb472c4bd45b12a87ade9166
----------------------------------------------------------------------------
-- Tests
-- Andreas, 2022-02-14, see https://github.com/haskell/cabal/issues/7889.
-- For the doctest to work with `cabal v2-test` we need the environment file.
-- This is produced by `cabal v2-build --write-ghc-environment-files=always`.
-- ALT: start it with `cabal exec -- cabal v2-test` (but this is ugly).
write-ghc-environment-files: always
package hackage-server
-- tests: True
----------------------------------------------------------------------------
-- Optional features
--
-- flags: +build-hackage-import
-- flags: +cabal-parsers