FIX make haskell compile actually use stack

This commit is contained in:
ndwarshuis 2019-06-13 15:45:10 -04:00
parent 9328e19711
commit 7b6badefee
1 changed files with 4 additions and 1 deletions

View File

@ -830,7 +830,10 @@ This also provides GHC which is used by flycheck for syntax checking.
:straight t :straight t
:hook (haskell-mode . origami-mode) :hook (haskell-mode . origami-mode)
:config :config
(setq haskell-interactive-popup-errors nil)) (setq haskell-interactive-popup-errors nil
;; we use stack...which counterintuitively means we set th
;; cabal build command to be stack
haskell-compile-cabal-build-command "stack build"))
#+END_SRC #+END_SRC
**** intero **** intero
Provides shell, autocomplete, and syntax checking. Requires the =intero= binary to be installed through stack (=stack install intero=). Provides shell, autocomplete, and syntax checking. Requires the =intero= binary to be installed through stack (=stack install intero=).