FIX haskell-flycheck bug
This commit is contained in:
parent
7420de7ca3
commit
214257ff55
15
etc/conf.org
15
etc/conf.org
|
@ -1108,7 +1108,20 @@ I have also found this to be much simpler and conflicting with other packages su
|
|||
;; flycheck setup (needed to get flycheck to pay attention to flags/extensions
|
||||
;; in cabal files)
|
||||
(use-package flycheck-haskell
|
||||
:straight t)
|
||||
:straight t
|
||||
:after flycheck
|
||||
:config
|
||||
;; fix whatever they did here: https://github.com/flycheck/flycheck-haskell/pull/118
|
||||
(setq flycheck-haskell-runghc-command
|
||||
(let ((stack-exe (funcall flycheck-executable-find "stack")))
|
||||
`(,stack-exe "--verbosity" "silent" "runghc" "--no-ghc-package-path" "--" "-i"
|
||||
"-packageCabal"
|
||||
"-packagebase"
|
||||
"-packagebytestring"
|
||||
"-packagecontainers"
|
||||
"-packageprocess"
|
||||
"-packagedirectory"
|
||||
"-packagefilepath"))))
|
||||
|
||||
(use-package haskell-mode
|
||||
:straight t
|
||||
|
|
Loading…
Reference in New Issue