mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 02:55:39 +03:00
Update to hie-bios 0.5.0
This commit is contained in:
parent
d9d21fb067
commit
aca3241eb0
@ -21,4 +21,4 @@ constraints:
|
||||
|
||||
write-ghc-environment-files: never
|
||||
|
||||
index-state: 2020-05-02T10:11:15Z
|
||||
index-state: 2020-05-08T10:11:15Z
|
@ -99,7 +99,7 @@ library
|
||||
, vector
|
||||
, versions
|
||||
, yaml >= 0.8.31
|
||||
, hie-bios >= 0.4 && < 0.5.0
|
||||
, hie-bios >= 0.5 && < 0.6.0
|
||||
, bytestring-trie
|
||||
, unliftio
|
||||
, hlint >= 2.2.11
|
||||
|
@ -471,6 +471,7 @@ cabalHelperCradle file = do
|
||||
$ CradleSuccess
|
||||
ComponentOptions
|
||||
{ componentOptions = [file, fixImportDirs cwd "-i."]
|
||||
, componentRoot = cwd
|
||||
, componentDependencies = []
|
||||
}
|
||||
}
|
||||
@ -542,8 +543,7 @@ cabalHelperAction proj env fp = do
|
||||
getComponent proj env (toList units) relativeFp
|
||||
>>= \case
|
||||
Right comp -> do
|
||||
let fs' = getFlags comp
|
||||
let fs = map (fixImportDirs packageRoot) fs'
|
||||
let fs = getFlags comp
|
||||
let targets = getTargets comp relativeFp
|
||||
let ghcOptions = removeRTS (fs ++ targets)
|
||||
debugm $ "Flags for \"" ++ fp ++ "\": " ++ show ghcOptions
|
||||
@ -551,6 +551,7 @@ cabalHelperAction proj env fp = do
|
||||
return
|
||||
$ CradleSuccess
|
||||
ComponentOptions { componentOptions = ghcOptions
|
||||
, componentRoot = packageRoot
|
||||
, componentDependencies = []
|
||||
}
|
||||
Left err -> return
|
||||
|
@ -33,7 +33,7 @@ extra-deps:
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- haskell-src-exts-1.22.0
|
||||
- haskell-src-exts-util-0.2.5
|
||||
- hie-bios-0.4.0
|
||||
- hie-bios-0.5.0
|
||||
- hlint-2.2.11
|
||||
- hoogle-5.0.17.15
|
||||
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
|
||||
|
@ -39,7 +39,7 @@ extra-deps:
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- haskell-src-exts-1.22.0
|
||||
- haskell-src-exts-util-0.2.5
|
||||
- hie-bios-0.4.0
|
||||
- hie-bios-0.5.0
|
||||
- hlint-2.2.11
|
||||
- hoogle-5.0.17.15
|
||||
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
|
||||
|
@ -32,7 +32,7 @@ extra-deps:
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- haskell-src-exts-1.22.0
|
||||
- haskell-src-exts-util-0.2.5
|
||||
- hie-bios-0.4.0
|
||||
- hie-bios-0.5.0
|
||||
- hlint-2.2.11
|
||||
- hoogle-5.0.17.15
|
||||
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
|
||||
|
@ -25,7 +25,7 @@ extra-deps:
|
||||
- haskell-lsp-0.20.0.0
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- haskell-src-exts-1.22.0
|
||||
- hie-bios-0.4.0
|
||||
- hie-bios-0.5.0
|
||||
- hlint-2.2.11
|
||||
- hoogle-5.0.17.15
|
||||
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
|
||||
|
@ -28,7 +28,7 @@ extra-deps:
|
||||
- haskell-lsp-0.20.0.0
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- haskell-src-exts-1.22.0
|
||||
- hie-bios-0.4.0
|
||||
- hie-bios-0.5.0
|
||||
- hlint-2.2.11
|
||||
- hoogle-5.0.17.15
|
||||
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
|
||||
|
@ -22,7 +22,7 @@ extra-deps:
|
||||
- haskell-lsp-0.20.0.0
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- lsp-test-0.10.1.0
|
||||
- hie-bios-0.4.0
|
||||
- hie-bios-0.5.0
|
||||
- hlint-2.2.11
|
||||
- hoogle-5.0.17.15
|
||||
- hsimport-0.11.0@sha256:e8f1774aff97215d7cc3a6c81635fae75b80af182f732f8fe28d1ed6eb9c7401,3170
|
||||
|
@ -24,6 +24,7 @@ extra-deps:
|
||||
- semigroups-0.18.5
|
||||
- temporary-1.2.1.1
|
||||
- unliftio-core-0.2.0.1
|
||||
- hie-bios-0.5.0
|
||||
|
||||
flags:
|
||||
haskell-ide-engine:
|
||||
|
@ -23,6 +23,7 @@ extra-deps:
|
||||
- haskell-lsp-types-0.20.0.0
|
||||
- haskell-src-exts-1.22.0
|
||||
- hoogle-5.0.17.15
|
||||
- hie-bios-0.5.0
|
||||
- hsimport-0.11.0
|
||||
- ilist-0.3.1.0
|
||||
- lsp-test-0.10.1.0
|
||||
|
Loading…
Reference in New Issue
Block a user