-
Notifications
You must be signed in to change notification settings - Fork 206
failed to find requested hint files only on lts-12.* #872
Comments
Had the same issue, but where it was looking in |
@owickstrom I'll give that a shot thanks. Are you saying it was looking in |
@leshow Yeah, exactly. |
I don't have a |
Ah okay, it appears (after removing hie) that there were a bunch of binaries still in |
I re-installed and have now broken all of hie. I get the same error on 12.x LTS and on 11.x or lower I get:
The path in |
A quick workaround: mkdir ~/.local/bin/data
touch ~/.local/bin/data/hlint.yaml I think it's weird that hlint throws an exception when there's no global file. It could be hie messing up when its invoking it |
TODO: update README |
I am having this same problem. It complains about the missing hlint file, and if I do the workaround @bubba suggests I get a similar error to @leshow :
hie --version: Version 0.5.0.0, Git revision c4a9e7c (2382 commits) x86_64 ghc-8.6.3 |
@jarcane the current version of hie is 0.6.0.0, and it did update hlint. Please re-install and try again. |
Still same issue with arch linux and install bunch of packages like hoogle, hlint. but still complain about hlint.yaml. I follow @owickstrom and @bubba . but nothing changed.
|
@LinArcX don't install any other packages from AUR, afaik hie provides its own versions of the required packages |
@leshow: |
This is one of the issues we're having with generating our own static binaries: hlint relies on data-files which currently there's not a great way of bundling with a binary, and similarly for cabal-helper |
@bubba nothing changed. |
This should be different now, hie does no longer choke on that, however, hlint does not work if there is no hlint.yaml, or in general, when its data-files are missing. The issue #1143 aims to solve this problem as a whole, once we have decision for it. |
Closed by #1143: hlint data files could be placed in a subfolder Only left update docs. |
/usr/bin/data
does not existThis error only happens on 12.x LTS, 11.9 and others work fine.
I've installed from
haskell-ide-engine-git
in the AUR. Does anyone else have this issue? Any ideas?The text was updated successfully, but these errors were encountered: