Commit Graph

3892 Commits

Author SHA1 Message Date
jneira
bf3ce5096a Add cabal-helper-1.1 to cabal config 2020-05-13 15:11:02 +02:00
jneira
cecd7c49bf Use cabal-helper-1.1 in stack config 2020-05-13 15:10:55 +02:00
Javier Neira
e68018a652
Merge pull request #1770 from Infinisil/stack-rev
Fix stack.yaml syntax for a specific revision
2020-05-13 00:32:05 +02:00
Silvan Mosberger
495d6cf513
Fix stack.yaml syntax for a specific revision
See also https://github.com/haskell/haskell-ide-engine/pull/1694#issuecomment-627456134
2020-05-12 18:35:08 +02:00
Alan Zimmerman
384e6827c5 Bump cabal index-state to include hie-bios-0.5.0
Fixes #1767
2020-05-10 21:46:48 +02:00
fendor
aca3241eb0 Update to hie-bios 0.5.0 2020-05-09 10:43:42 +02:00
Alan Zimmerman
d9d21fb067
Merge pull request #1759 from alanz/prepare-1.4
Prepare 1.4 release
2020-05-03 17:16:20 +01:00
Alan Zimmerman
0347590458 Prepare 1.4 release 2020-05-03 11:21:55 +01:00
Alan Zimmerman
38c6ca6b63
Merge pull request #1757 from alanz/bump-resolvers
Bump resolvers
2020-05-02 21:47:20 +01:00
Alan Zimmerman
73a9f77334 Sort out ghc-nightly build 2020-05-02 19:23:27 +01:00
Alan Zimmerman
55a82ee3d4 Fix cabal build for GHC 8.8.3 2020-05-02 16:59:55 +01:00
Alan Zimmerman
6c8e8477f6 Bump resolvers
cabal to 2020-05-02T10:11:15Z
stack-8.8.3 to lts-15.10
stack to nightly-2020-05-01
2020-05-02 14:11:10 +01:00
fendor
6dc7d4302b Move finding the package for a filepath
Currently, hie-wrapper uses the cradle type to find the ghc version to
use on the project. Cabal-Helper does not only return the cradle type
but also initialises the packages of the project, which may take a long
time since it starts building dependencies. Moreover, it causes
hie-wrapper to take way longer than necessary to find the project type,
and thus, the ghc version to use on the project.
This violates the isolation of the cradle, some work happens before
loading the options for a filepath, some during it.
This commit unifies the behaviour with hie-bios:

  * All the work happens during loading the options for the given
    filepath.

It speeds up the initial start-up of hie if users use the implicit
cradle discovery mechanism.
It makes the implementation a bit less hacky.

While there are behavioural changes, nothing should change for everyday
users.
2020-04-23 19:35:49 +02:00
fendor
16d1a630b2
Merge pull request #1742 from ssanj/patch-1
Update Sublime Text HIE command
2020-04-18 17:13:00 +02:00
Sanjiv Sahayam
06fd0628ba
Update Sublime Text HIE command
The `hie` command needs to include the `--lsp` parameter for it to work as an LSP server.
2020-04-18 22:25:57 +10:00
Javier Neira
f2c727b284
Merge pull request #1737 from jneira/stack-linux
Use preinstalled ghcs in stack linux builds
2020-04-15 23:43:50 +02:00
jneira
4fdd91105e Put ghcs used by wrapper-test in path 2020-04-14 22:31:00 +02:00
unknown
e61670f75f Strip RTS flags, since we cant honor them
Issue that caused it:
https://github.com/haskell/haskell-ide-engine/issues/1725

the problem is that we cant honour the `+RTS` flags, since these need to
be known when GHC is started. However, HIE is the compiler and is
started before we load any component.
Therefore, these options for the different component are unusable and we
strip them here to avoid a bug.
This commit is inspired by
https://github.com/mpickering/hie-bios/issues/102
2020-04-14 15:45:41 +02:00
jneira
a5d8c1968c Use installed ghc in stack linux build
To avoid download it again and not waste disk space
2020-04-13 15:45:29 +02:00
Javier Neira
78eb87b221
Merge pull request #1697 from jneira/ghc-8.8.3
Support for ghc-8.8.3
2020-04-10 23:43:48 +02:00
jneira
6aa0e39be5 Drop ghc-8.8.3 from azure stack jobs 2020-04-09 22:53:58 +02:00
jneira
9327f6389e Correct ghc-8.8.3 stack.yaml's 2020-04-09 22:14:32 +02:00
jneira
6765fa6f6c Install hie-8.6.5 to avoid segfaults with ghc-8.8.3 2020-04-09 21:44:48 +02:00
jneira
d4a6a17a02 Update resolvers of install/shake.yaml 2020-04-09 21:44:48 +02:00
jneira
49c76b919e Don't use ghc-8.8.3 for windows cabal 2020-04-09 21:44:47 +02:00
jneira
b580f7bd4b Dont build windows with stack-8.8.3.yaml 2020-04-09 21:44:46 +02:00
jneira
3fb74dc880 Use resolver instead yaml files to download ghc 2020-04-09 21:44:45 +02:00
fendor
9073c3997b Update Testutils to use the correct stack.yaml 2020-04-09 21:44:45 +02:00
jneira
e8e801fbec Remove not needed project files 2020-04-09 21:44:00 +02:00
jneira
385ee03b3a Update index-state to latest 2020-04-09 21:44:00 +02:00
jneira
5465d913ca Use last versions of haddock and unlift-io-core 2020-04-09 21:43:59 +02:00
jneira
0bdf8ccd9c Update ghc-8.8.3 stackage resolvers 2020-04-09 21:43:41 +02:00
jneira
8e7739498e Change ghc-8.8.1 -> ghc-8.8.3 in circle ci config 2020-04-09 21:42:56 +02:00
jneira
9ec87df18e Use ghc-8.8.3 for macos-installhs-cabal 2020-04-09 21:42:55 +02:00
jneira
68a57bb61c Avoid unlift-core-0.2.0.0 2020-04-09 21:42:54 +02:00
jneira
07d603368b Remove ghc-8.8.1 (version without lts) 2020-04-09 21:42:36 +02:00
jneira
41deffa992 Update index state to use hsimport rev 2020-04-09 21:42:05 +02:00
jneira
7d71a48c45 Add ghc-8.8.3 to ci 2020-04-09 21:42:05 +02:00
jneira
5fd1ed5040 Add stack-8.8.3.yaml 2020-04-09 21:42:05 +02:00
jneira
73f2002753 Add ghc-8.8.3 to the matrix of cabal jobs 2020-04-09 21:42:04 +02:00
jneira
8ff9c673d4 Add cabal.project for ghc-8.8.3 2020-04-09 21:42:03 +02:00
wz1000
099e4c493a
Merge pull request #1723 from wz1000/master
Haddock source file names may use either dot or dash as separator
2020-04-08 17:36:49 +05:30
Alan Zimmerman
4e185f7bf8
Merge pull request #1726 from alanz/prepare-1.3
Prepare version 1.3
2020-04-07 21:56:41 +01:00
Alan Zimmerman
ac6495877b Prepare version 1.3 2020-04-07 20:07:16 +01:00
Alan Zimmerman
ddf513b6d9
Merge pull request #1724 from alanz/bump-resolvers
Bump resolvers
2020-04-07 14:28:39 +01:00
Alan Zimmerman
76ed58ae44 Use current cabal-helper master 2020-04-06 22:30:04 +01:00
Alan Zimmerman
1d7fd9a9ac Use haddock-api-2.23.1 now it is (finally) published 2020-04-06 22:19:49 +01:00
Alan Zimmerman
c8ed3e5680 Bump resolvers 2020-04-06 21:32:12 +01:00
Zubin Duggal
d9697bd9f4
Haddock source file names may use either dot or dash as separator 2020-04-06 16:00:54 +05:30
Javier Neira
b7fd5fb04b
Merge pull request #1715 from jneira/fix-install-hoogle
Make install script use unix-time-0.4.7
2020-03-29 19:40:11 +02:00