We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645acc4 commit a617127Copy full SHA for a617127
stylish-haskell.cabal
@@ -23,6 +23,12 @@ Extra-source-files:
23
README.markdown,
24
data/stylish-haskell.yaml
25
26
+Flag ghc-lib
27
+ Default: False
28
+ Manual: True
29
+ Description:
30
+ Force dependency on ghc-lib-parser even if GHC API in the ghc package is supported
31
+
32
Common depends
33
Ghc-options: -Wall
34
Default-language: Haskell2010
@@ -46,7 +52,7 @@ Common depends
46
52
Build-depends:
47
53
semigroups >= 0.18 && < 0.20
48
54
49
- if impl(ghc >= 9.2.2)
55
+ if impl(ghc >= 9.2.2) && (!flag(ghc-lib))
50
56
51
57
ghc >= 9.2 && < 9.3,
58
ghc-boot,
0 commit comments