I'm trying to start Tools -> Start Haskell REPL
, but I'm getting this error:
Error: Cannot run program "/usr/lib/ghc-7.8.4/bin/ghci" (in directory ...): error=2, No such file or directory
Which looks legitimate, as ghci
resides elsewhere:
$ locate ghci
/usr/bin/ghci
/usr/bin/ghci-7.8.4
/usr/lib/ghc-7.8.4/ghci-usage.txt
...
(Haskell installed from the dedicated repository, Archlinux). Unfortunately, I've been given no leeway concerning Haskell SDK location.
Project Structure -> Project SDK -> GHC -> Select Home Directory for GHC
forces /usr/lib/ghc-7.8.4
choice on me.