Skip to content

Commit fa777fd

Browse files
committed
Fix Dante
1 parent 28b07fd commit fa777fd

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.dir-locals.el

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
((nil . ((dante-repl-command-line . ("stack" "ghci" "--ghci-options" "-fdiagnostics-color=never")))))

stack.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ docker:
88
enable: true
99
image: tweag/linear-types:0.1.9
1010
stack-exe: download
11+
mount:
12+
## For dante syntax checker
13+
# mounting /tmp in the docker containers allows
14+
# dante on the host system to copy its file in /tmp
15+
# and stack on the docker system to read it in /tmp
16+
#
17+
# setup your emacs variable `dante-repl-command-line` as `("stack" "ghci" "--ghci-options" "-fdiagnostics-color=never")`
18+
- /tmp:/tmp
1119

1220
packages:
1321
- '.'

0 commit comments

Comments
 (0)