summaryrefslogtreecommitdiff
path: root/dot/local/bin/ghc
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-10-04 15:27:32 +0200
committerAndrew Cady <d@jerkface.net>2015-10-04 15:27:32 +0200
commit2ea5eb5415341de3e5b0a92ffb9779207e2bfdaf (patch)
treedf18d957f4c95913eed8404558f6233f634dc63d /dot/local/bin/ghc
parent67e126f27a11913578b0e521ba8ca5c75b5869d0 (diff)
wrappers to use ghc from stack
Diffstat (limited to 'dot/local/bin/ghc')
-rwxr-xr-xdot/local/bin/ghc7
1 files changed, 7 insertions, 0 deletions
diff --git a/dot/local/bin/ghc b/dot/local/bin/ghc
new file mode 100755
index 0000000..36c3656
--- /dev/null
+++ b/dot/local/bin/ghc
@@ -0,0 +1,7 @@
1#!/bin/sh
2prog=${0##*/}
3case "$prog" in
4 ghc|runghc|ghci) exec stack --no-system-ghc $prog;;
5esac
6echo "Not a stack command: $prog" >&2
7exit -1