Skip to content

Commit d919d64

Browse files
committed
Extract non-packages cabal config into cabal.project.config
1 parent abdcd15 commit d919d64

File tree

2 files changed

+43
-42
lines changed

2 files changed

+43
-42
lines changed

lib/cabal.project

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,4 @@ packages:
33
asset/*
44
executable-config/*
55

6-
7-
allow-newer:
8-
hnix:*
9-
, hnix-store-core:algebraic-graphs
10-
11-
constraints:
12-
hnix-store-core < 0.7
13-
, hnix-store-remote < 0.7
14-
15-
if arch(wasm32)
16-
shared: True
17-
allow-newer:
18-
*:*
19-
, *:time
20-
constraints:
21-
, time >= 1.15
22-
23-
if impl(ghc == 9.14.*)
24-
allow-newer:
25-
*:base
26-
, *:template-haskell
27-
, *:ghc-experimental
28-
, *:ghc-internal
29-
, patch:containers
30-
, parser-regex:ghc-bignum
31-
constraints:
32-
base < 4.23
33-
, template-haskell < 2.25
34-
, ghc-experimental < 9.1500
35-
, ghc-internal < 9.1500
36-
37-
if impl(ghc < 9.14)
38-
-- https://github.com/haskellari/splitmix/pull/73
39-
-- https://github.com/haskellari/splitmix/pull/75
40-
source-repository-package
41-
type: git
42-
location: https://github.com/alexfmpe/splitmix
43-
tag: bd53859c0f41d12f16c3f44fee52f5e9aae26243
44-
45-
-- https://github.com/haskell-cryptography/HsOpenSSL/issues/93#issuecomment-2311816896
46-
package HsOpenSSL
47-
ghc-options: -optc=-Wno-incompatible-pointer-types"
6+
import: cabal.project.config

lib/cabal.project.config

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
allow-newer:
2+
hnix:*
3+
, hnix-store-core:algebraic-graphs
4+
5+
constraints:
6+
hnix-store-core < 0.7
7+
, hnix-store-remote < 0.7
8+
9+
if arch(wasm32)
10+
shared: True
11+
allow-newer:
12+
*:*
13+
, *:time
14+
constraints:
15+
, time >= 1.15
16+
17+
if impl(ghc == 9.14.*)
18+
allow-newer:
19+
*:base
20+
, *:template-haskell
21+
, *:ghc-experimental
22+
, *:ghc-internal
23+
, patch:containers
24+
, parser-regex:ghc-bignum
25+
constraints:
26+
base < 4.23
27+
, template-haskell < 2.25
28+
, ghc-experimental < 9.1500
29+
, ghc-internal < 9.1500
30+
31+
if impl(ghc < 9.14)
32+
-- https://github.com/haskellari/splitmix/pull/73
33+
-- https://github.com/haskellari/splitmix/pull/75
34+
source-repository-package
35+
type: git
36+
location: https://github.com/alexfmpe/splitmix
37+
tag: bd53859c0f41d12f16c3f44fee52f5e9aae26243
38+
--sha256: 1r3b75axljbnfjcjbpjxc8dqqcrbsz9mhr4fwngqd1is70d9msp0
39+
40+
-- https://github.com/haskell-cryptography/HsOpenSSL/issues/93#issuecomment-2311816896
41+
package HsOpenSSL
42+
ghc-options: -optc=-Wno-incompatible-pointer-types"

0 commit comments

Comments
 (0)