Variable: haskell-process-args-cabal-repl
haskell-process-args-cabal-repl is a customizable variable defined in
haskell-customize.el.
Value
("--ghc-option=-ferror-spans")
Documentation
Additional arguments for cabal repl invocation.
Note: The settings in haskell-process-path-ghci and
haskell-process-args-ghci are not automatically reused as cabal repl
currently invokes ghc --interactive. Use
--with-ghc=<path-to-executable> if you want to use a different
interactive GHC frontend; use --ghc-option=<ghc-argument> to
pass additional flags to ghc.
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-customize.el
(defcustom haskell-process-args-cabal-repl
'("--ghc-option=-ferror-spans")
"Additional arguments for `cabal repl' invocation.
Note: The settings in `haskell-process-path-ghci' and
`haskell-process-args-ghci' are not automatically reused as `cabal repl'
currently invokes `ghc --interactive'. Use
`--with-ghc=<path-to-executable>' if you want to use a different
interactive GHC frontend; use `--ghc-option=<ghc-argument>' to
pass additional flags to `ghc'."
:group 'haskell-interactive
:type '(repeat (string :tag "Argument")))