Skip to content

Commit 103e623

Browse files
committed
Use presence of cabal.sandbox.config to infer cabal preference
See #864
1 parent deb809b commit 103e623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-customize.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ same vein as `haskell-indent-spaces'."
399399
(if (eq 'auto haskell-process-type)
400400
(cond
401401
;; User has explicitly initialized this project with cabal
402-
((locate-dominating-file default-directory ".cabal-sandbox")
402+
((locate-dominating-file default-directory "cabal.sandbox.config")
403403
'cabal-repl)
404404
((and (locate-dominating-file default-directory "stack.yaml")
405405
(executable-find "stack"))

0 commit comments

Comments
 (0)