Skip to content

Commit 8002d25

Browse files
jneiramergify-bot
authored and
mergify-bot
committed
Clean cabal project (#2097)
* Remove superflous things * Set index-state * Add ghc-api-compat and remove shake-bench * Correct comment about ghc-api-compat * Add specific project file for benchs * Use specific project file for benchmarks * Ensure we use lsp-1.3.0.1 * Use lsp-types-1.3.0.1 for stack * Use lsp-types-1.3.0.1 for default stack * Remove some more allow-newer * Use one cabal.project Co-authored-by: Pepe Iborra <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 57ffd74) # Conflicts: # cabal.project
1 parent ee37c51 commit 8002d25

12 files changed

+23
-14
lines changed

cabal.project

+12-3
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,33 @@ packages:
2323
./plugins/hls-module-name-plugin
2424
./plugins/hls-ormolu-plugin
2525
./plugins/hls-call-hierarchy-plugin
26+
2627
tests: true
2728

2829
package *
2930
ghc-options: -haddock
3031
test-show-details: direct
3132

32-
-- ghc-api-compat-8.6
33+
-- see https://gitlab.haskell.org/haskell/ghc-api-compat/-/issues/1#note_371055
3334
source-repository-package
3435
type: git
3536
location: https://github.com/hsyl20/ghc-api-compat
3637
tag: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
3738

3839
write-ghc-environment-files: never
3940

41+
<<<<<<< HEAD
4042
index-state: 2021-08-01T00:00:00Z
43+
=======
44+
index-state: 2021-08-12T12:00:38Z
45+
>>>>>>> 57ffd744 (Clean cabal project (#2097))
4146

4247
constraints:
43-
-- Diagrams doesn't support optparse-applicative >= 0.16 yet
44-
optparse-applicative < 0.16,
4548
hyphenation +embed
4649

4750

4851
allow-newer:
52+
<<<<<<< HEAD
4953
active:base,
5054
assoc:base,
5155
cryptohash-md5:base,
@@ -85,3 +89,8 @@ allow-newer:
8589
these:base,
8690
time-compat:base
8791

92+
=======
93+
-- for shake-bench
94+
Chart-diagrams:diagrams-core,
95+
SVGFonts:diagrams-core
96+
>>>>>>> 57ffd744 (Clean cabal project (#2097))

ghcide/ghcide.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ library
6161
hls-plugin-api ^>= 1.2.0.0,
6262
lens,
6363
hiedb == 0.4.0.*,
64-
lsp-types >= 1.2 && < 1.4,
64+
lsp-types >= 1.3.0.1 && < 1.4,
6565
lsp == 1.2.*,
6666
mtl,
6767
network-uri,

stack-8.10.2.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extra-deps:
6666
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
6767
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
6868
- lsp-1.2.0.1
69-
- lsp-types-1.3.0.0
69+
- lsp-types-1.3.0.1
7070
- lsp-test-0.14.0.1
7171

7272
configure-options:

stack-8.10.3.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extra-deps:
6666
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
6767
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
6868
- lsp-1.2.0.1
69-
- lsp-types-1.3.0.0
69+
- lsp-types-1.3.0.1
7070
- lsp-test-0.14.0.1
7171

7272
configure-options:

stack-8.10.4.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extra-deps:
6262
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
6363
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
6464
- lsp-1.2.0.1
65-
- lsp-types-1.3.0.0
65+
- lsp-types-1.3.0.1
6666
- lsp-test-0.14.0.1
6767

6868
# Enable these when supported by all formatters

stack-8.10.5.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ extra-deps:
6464
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
6565
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
6666
- lsp-1.2.0.1
67-
- lsp-types-1.3.0.0
67+
- lsp-types-1.3.0.1
6868
- lsp-test-0.14.0.1
6969

7070
# Enable these when supported by all formatters

stack-8.6.4.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ extra-deps:
103103
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
104104
- resourcet-1.2.3
105105
- lsp-1.2.0.1
106-
- lsp-types-1.3.0.0
106+
- lsp-types-1.3.0.1
107107
- lsp-test-0.14.0.1
108108

109109
flags:

stack-8.6.5.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ extra-deps:
104104
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
105105
- resourcet-1.2.3
106106
- lsp-1.2.0.1
107-
- lsp-types-1.3.0.0
107+
- lsp-types-1.3.0.1
108108
- lsp-test-0.14.0.1
109109

110110
configure-options:

stack-8.8.3.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ extra-deps:
8383
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
8484
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
8585
- lsp-1.2.0.1
86-
- lsp-types-1.3.0.0
86+
- lsp-types-1.3.0.1
8787
- lsp-test-0.14.0.1
8888

8989
configure-options:

stack-8.8.4.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ extra-deps:
8080
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
8181
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
8282
- lsp-1.2.0.1
83-
- lsp-types-1.3.0.0
83+
- lsp-types-1.3.0.1
8484
- lsp-test-0.14.0.1
8585

8686
configure-options:

stack-9.0.1.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extra-deps:
5555
- retrie-1.0.0.0
5656
- some-1.0.2@sha256:3d460998df32ad7b93bf55657aeae988d97070155e71718b4bc75d0997ce9d62,2244
5757
- lsp-1.2.0.1
58-
- lsp-types-1.3.0.0
58+
- lsp-types-1.3.0.1
5959
- lsp-test-0.14.0.1
6060

6161
# Upstream patches for ghc-9.0.1 compatability

stack.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extra-deps:
5959
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
6060
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
6161
- lsp-1.2.0.1
62-
- lsp-types-1.3.0.0
62+
- lsp-types-1.3.0.1
6363
- lsp-test-0.14.0.1
6464

6565
configure-options:

0 commit comments

Comments
 (0)