Skip to content

Commit

Permalink
Merge pull request #74 from fendor/fendor-hie-bios-force-push-sorry
Browse files Browse the repository at this point in the history
Fix source packages for hie-bios
  • Loading branch information
alanz authored Apr 25, 2020
2 parents cb33c5b + d38b7a6 commit 69b3516
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/fendor/hie-bios.git
tag: d5b7fc9bb3025b1d4d2ac9c48b588faf18dfce99
tag: 89d28817716a1c8df7e191f3a43c4504bc6379eb


tests: true
Expand Down
5 changes: 3 additions & 2 deletions exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import GHC hiding (def)
import GHC.Check (runTimeVersion, compileTimeVersionFromLibdir)
-- import GhcMonad
import HIE.Bios.Cradle
import HIE.Bios.Environment (addCmdOpts)
import HIE.Bios.Environment (addCmdOpts, makeDynFlagsAbsolute)
import HIE.Bios.Types
import HscTypes (HscEnv(..), ic_dflags)
import qualified Language.Haskell.LSP.Core as LSP
Expand Down Expand Up @@ -503,7 +503,8 @@ memoIO op = do
setOptions :: GhcMonad m => ComponentOptions -> DynFlags -> m (DynFlags, [Target])
setOptions (ComponentOptions theOpts compRoot _) dflags = do
cacheDir <- liftIO $ getCacheDir theOpts
(dflags', targets) <- addCmdOpts compRoot theOpts dflags
(dflags_, targets) <- addCmdOpts theOpts dflags
let dflags' = makeDynFlagsAbsolute compRoot dflags_
let dflags'' =
-- disabled, generated directly by ghcide instead
flip gopt_unset Opt_WriteInterface $
Expand Down
2 changes: 1 addition & 1 deletion ghcide
2 changes: 1 addition & 1 deletion stack-8.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extra-deps:
- haskell-src-exts-1.21.1
# - hie-bios-0.4.0
- github: fendor/hie-bios
commit: d5b7fc9bb3025b1d4d2ac9c48b588faf18dfce99
commit: 89d28817716a1c8df7e191f3a43c4504bc6379eb
- hlint-2.2.8
- hoogle-5.0.17.11
- hsimport-0.11.0
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-lsp-types-0.21.0.0
# - hie-bios-0.4.0
- github: fendor/hie-bios
commit: d5b7fc9bb3025b1d4d2ac9c48b588faf18dfce99
commit: 89d28817716a1c8df7e191f3a43c4504bc6379eb
- indexed-profunctors-0.1
- lsp-test-0.10.2.0
- monad-dijkstra-0.1.1.2
Expand Down
2 changes: 1 addition & 1 deletion stack-8.8.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-src-exts-1.21.1
# - hie-bios-0.4.0
- github: fendor/hie-bios
commit: d5b7fc9bb3025b1d4d2ac9c48b588faf18dfce99
commit: 89d28817716a1c8df7e191f3a43c4504bc6379eb
- hlint-2.2.8
- hoogle-5.0.17.11
- hsimport-0.11.0
Expand Down
2 changes: 1 addition & 1 deletion stack-8.8.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-src-exts-1.21.1
# - hie-bios-0.4.0
- github: fendor/hie-bios
commit: d5b7fc9bb3025b1d4d2ac9c48b588faf18dfce99
commit: 89d28817716a1c8df7e191f3a43c4504bc6379eb
- hlint-2.2.8
- hoogle-5.0.17.11
- hsimport-0.11.0
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-lsp-types-0.21.0.0
# - hie-bios-0.4.0
- github: fendor/hie-bios
commit: d5b7fc9bb3025b1d4d2ac9c48b588faf18dfce99
commit: 89d28817716a1c8df7e191f3a43c4504bc6379eb
- indexed-profunctors-0.1
- lsp-test-0.10.2.0
- monad-dijkstra-0.1.1.2
Expand Down

0 comments on commit 69b3516

Please sign in to comment.