Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
215 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
packages: | ||
./ | ||
./hie-compat | ||
./shake-bench | ||
./hls-graph | ||
./ghcide | ||
./hls-plugin-api | ||
./hls-test-utils | ||
./plugins/hls-tactics-plugin | ||
./plugins/hls-brittany-plugin | ||
./plugins/hls-stylish-haskell-plugin | ||
./plugins/hls-fourmolu-plugin | ||
./plugins/hls-class-plugin | ||
./plugins/hls-eval-plugin | ||
./plugins/hls-explicit-imports-plugin | ||
./plugins/hls-refine-imports-plugin | ||
./plugins/hls-hlint-plugin | ||
./plugins/hls-rename-plugin | ||
./plugins/hls-retrie-plugin | ||
./plugins/hls-haddock-comments-plugin | ||
./plugins/hls-splice-plugin | ||
./plugins/hls-qualify-imported-names-plugin | ||
./plugins/hls-floskell-plugin | ||
./plugins/hls-pragmas-plugin | ||
./plugins/hls-module-name-plugin | ||
./plugins/hls-ormolu-plugin | ||
./plugins/hls-call-hierarchy-plugin | ||
./plugins/hls-alternate-number-format-plugin | ||
|
||
source-repository-package | ||
type: git | ||
location: https://github.com/tfausak/unix-compat | ||
tag: 154c3a63f154cb49c51d5f9d13488e8119631d8a | ||
-- To fix windows build | ||
-- https://github.com/jacobstanley/unix-compat/pull/47 | ||
|
||
with-compiler: ghc-9.0.2 | ||
|
||
tests: true | ||
|
||
package * | ||
ghc-options: -haddock | ||
test-show-details: direct | ||
|
||
write-ghc-environment-files: never | ||
|
||
index-state: 2021-12-29T12:30:08Z | ||
|
||
constraints: | ||
-- These plugins don't work on GHC9 yet | ||
haskell-language-server +ignore-plugins-ghc-bounds -brittany -stylishhaskell -tactic, | ||
ghc-lib-parser ^>= 9.0 | ||
|
||
-- although we are not building all plugins cabal solver phase is run for all packages | ||
-- this way we track explicitly all transitive dependencies which need support for ghc-9 | ||
allow-newer: | ||
brittany:base, | ||
brittany:ghc, | ||
brittany:ghc-boot-th, | ||
-- for brittany | ||
butcher:base, | ||
multistate:base, | ||
data-tree-print:base, | ||
|
||
stylish-haskell:Cabal, | ||
stylish-haskell:ghc-lib-parser, | ||
|
||
floskell:base, | ||
floskell:ghc-prim, | ||
|
||
-- for shake-bench | ||
Chart-diagrams:diagrams-core, | ||
SVGFonts:diagrams-core, | ||
|
||
-- ghc-9.0.2 specific | ||
hashable:ghc-bignum, | ||
ghc-typelits-natnormalise:ghc-bignum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
resolver: nightly-2022-01-04 | ||
compiler: ghc-9.0.2 | ||
|
||
packages: | ||
- . | ||
- ./hie-compat | ||
- ./hls-graph | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./hls-test-utils | ||
- ./shake-bench | ||
- ./plugins/hls-call-hierarchy-plugin | ||
- ./plugins/hls-class-plugin | ||
- ./plugins/hls-haddock-comments-plugin | ||
- ./plugins/hls-eval-plugin | ||
- ./plugins/hls-explicit-imports-plugin | ||
- ./plugins/hls-qualify-imported-names-plugin | ||
- ./plugins/hls-refine-imports-plugin | ||
- ./plugins/hls-hlint-plugin | ||
- ./plugins/hls-rename-plugin | ||
- ./plugins/hls-retrie-plugin | ||
- ./plugins/hls-splice-plugin | ||
# - ./plugins/hls-tactics-plugin | ||
# - ./plugins/hls-brittany-plugin | ||
# - ./plugins/hls-stylish-haskell-plugin | ||
- ./plugins/hls-floskell-plugin | ||
- ./plugins/hls-fourmolu-plugin | ||
- ./plugins/hls-pragmas-plugin | ||
- ./plugins/hls-module-name-plugin | ||
- ./plugins/hls-ormolu-plugin | ||
- ./plugins/hls-alternate-number-format-plugin | ||
|
||
extra-deps: | ||
- bytestring-encoding-0.1.1.0 | ||
- dependent-map-0.4.0.0 | ||
- extra-1.7.9 # for ghcide, https://github.com/haskell/haskell-language-server/pull/2131 | ||
- hspec-2.7.10 # for hls-test-utils | ||
- hspec-core-2.7.10 # for hls-test-utils | ||
- some-1.0.2 # for dependent-sum, https://github.com/obsidiansystems/dependent-sum/issues/66 | ||
- floskell-0.10.6 | ||
- heapsize-0.3.0.1 | ||
- hiedb-0.4.1.0 | ||
- implicit-hie-0.1.2.6 | ||
- implicit-hie-cradle-0.3.0.5 | ||
- monad-dijkstra-0.1.1.3 | ||
- retrie-1.1.0.0 | ||
|
||
# shake-bench dependencies | ||
- Chart-1.9.3 | ||
- Chart-diagrams-1.9.3 | ||
- SVGFonts-1.7.0.1 # for Chart-diagrams, https://github.com/timbod7/haskell-chart/issues/232 | ||
- diagrams-postscript-1.5 | ||
- statestack-0.3 | ||
- operational-0.2.4.1 | ||
|
||
# boot libraries | ||
- Cabal-3.6.2.0 | ||
- directory-1.3.7.0 | ||
- ghc-boot-9.2.1 | ||
- process-1.6.13.2 | ||
- time-1.12.1 | ||
|
||
# currently needed for ghcide>extra, etc. | ||
allow-newer: true | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
||
configure-options: | ||
ghcide: | ||
- --disable-library-for-ghci | ||
haskell-language-server: | ||
- --disable-library-for-ghci | ||
heapsize: | ||
- --disable-library-for-ghci | ||
|
||
flags: | ||
haskell-language-server: | ||
pedantic: true | ||
|
||
ignore-plugins-ghc-bounds: true | ||
tactic: false # Dependencies fail | ||
stylishHaskell: false | ||
brittany: false | ||
|
||
retrie: | ||
BuildExecutable: false | ||
# Stack doesn't support automatic flags. | ||
hls-hlint-plugin: | ||
hlint33: true | ||
hyphenation: | ||
embed: true | ||
|
||
nix: | ||
packages: [ icu libcxx zlib ] | ||
|
||
concurrent-tests: false |