user3773571
user3773571

Reputation:

Haskell `hdevtools is not executable!` error

Problem

I'm trying to set up hdevtools for piping GHC errors into my editor linter (so that you don’t have to continually run :r in GHCi to see errors). I have run into a hdevtools is not executable! error.

Question

Does anyone know what I’ve done wrong or what I can do to get this working? I'm not sure if this is a problem with the way I set up GHC and/or hdevtools, or if this is a problem with the permission settings of my directories or something...

Background info

Upvotes: 2

Views: 363

Answers (1)

epsilonhalbe
epsilonhalbe

Reputation: 15959

I am not sure but I had a similar issue using the ghc provided by the ppa:hvr package which installs the ghc in /usr/opt/ghc/

I linked

  • /opt/ghc/7.10.3/bin/ -> /home/epsilonhalbe/bin/ghc/
  • /home/epsilonhalbe/.local/bin -> /home/epsilonhalbe/bin/util

then i added the following to my .vimrc

" ADJUST PATH {{{
if (index(split($PATH,':'),'/home/epsilonhalbe/bin') < 0)
    let $PATH = '/home/epsilonhalbe/bin' . ':' . $PATH
endif
if (index(split($PATH,':'),'/home/epsilonhalbe/bin/ghc') < 0)
    let $PATH = '/home/epsilonhalbe/bin/ghc' . ':' . $PATH
endif
if (index(split($PATH,':'),'/home/epsilonhalbe/bin/util') < 0)
    let $PATH = '/home/epsilonhalbe/bin/util' . ':' . $PATH
endif
" }}}

maybe this helps.

Upvotes: 1

Related Questions