vim-hsimport icon indicating copy to clipboard operation
vim-hsimport copied to clipboard

Doesn't work, throws "cannot satisfy package id" blah

Open hasufell opened this issue 7 years ago • 3 comments

hsimport via command line works perfectly

via this plugin not: error_hsimport

hasufell@localhost ~ $ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.2.20180117
hasufell@localhost ~ $ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 24 2017 23:49:46)  
hasufell@localhost ~ $ hsimport --version
hsimport version 0.8.5

hasufell avatar Feb 05 '18 21:02 hasufell

This looks more like an issue of hdevtools with ghc 8.2.2. vim-hsimport uses hdevtools to find the module for a symbol.

So, not much I can do. I wouldn't recommend to use the newest ghc, because a lot of tooling just doesn't support it yet.

dan-t avatar Feb 06 '18 09:02 dan-t

How are you building your project?

  • cabal build
  • cabal sandbox
  • stack
  • cabal new-build

dan-t avatar Feb 06 '18 14:02 dan-t

cabal sandbox

Also see https://github.com/hdevtools/hdevtools/issues/76

hasufell avatar Feb 06 '18 14:02 hasufell