arybczak / ghc-tags

A command line tool that leverages GHC API for generation of etags (Emacs) and ctags (Vim, VSCode with ctagsx etc.) for efficient code navigation (jump to definition).
Mozilla Public License 2.0
21 stars 3 forks source link

Could not find module ‘Control.Concurrent.Async’ when building #26

Closed tchoutri closed 2 months ago

tchoutri commented 2 months ago

I have tried to build ghc-tags-1.9 from both Hackage and GitHub with GHC 9.6.6, and each time I get the same issue:

src/Main.hs:4:1: error:
    Could not find module ‘Control.Concurrent.Async’
    Perhaps you meant
      Control.Concurrent.Chan (from base-4.18.2.1)
      Control.Concurrent.STM (from stm-2.5.1.0)
      Control.Concurrent.MVar (from base-4.18.2.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
4 | import Control.Concurrent.Async
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: [Cabal-7125]
Failed to build exe:ghc-tags from ghc-tags-1.9. See the build log above for details.
arybczak commented 2 months ago

Indeed it also doesn't work for me now, but it was working a few weeks ago, WTF. async is in build-depends, what the fuck.

arybczak commented 2 months ago

Ok, I made appropriate revisions, it should work now.