Skip to content

Commit fb88ad6

Browse files
committed
stack is opt-in
1 parent a788654 commit fb88ad6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

haskell-compile.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ base directory for build tools, or the current buffer for
178178
'haskell--compile-cabal-last
179179
haskell-compile-cabal-build-command
180180
haskell-compile-cabal-build-alt-command)
181-
(if-let ((stackdir (locate-dominating-file default-directory "stack.yaml")))
181+
(if-let ((stackdir (and haskell-compile-ignore-cabal
182+
locate-dominating-file default-directory "stack.yaml")))
182183
(haskell--compile stackdir edit-command
183184
'haskell--compile-stack-last
184185
haskell-compile-stack-build-command

0 commit comments

Comments
 (0)