Closed
Description
Hi, I am trying to use haskell-mode with stack but I am getting the following error when I run M-x haskell-process-load-file
: Searching for program: no such file or directory, stack
I have the following config:
(req-package haskell-mode
:config (progn
(define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-file)
(add-hook 'haskell-mode-hook 'haskell-doc-mode)
(add-hook 'haskell-mode-hook 'haskell-indentation-mode)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'haskell-decl-scan-mode)
(add-hook 'haskell-mode-hook (lambda ()
(electric-indent-local-mode -1)))
(setq haskell-process-type 'stack-ghci)
(setq haskell-process-path-ghci "stack")
(setq haskell-process-args-ghci '("ghci"))
(setq haskell-process-suggest-remove-import-lines t)
(setq haskell-process-auto-import-loaded-modules t)
(setq haskell-process-log nil)
(setq haskell-stylish-on-save t)))
I have stack
on my path and I was using spacemacs previously which could find stack ghci
.
Metadata
Metadata
Assignees
Labels
No labels