summaryrefslogtreecommitdiff
path: root/hadrian/ghci-stack
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/ghci-stack')
-rwxr-xr-xhadrian/ghci-stack2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/ghci-stack b/hadrian/ghci-stack
index 92b5229328..53fdeddad5 100755
--- a/hadrian/ghci-stack
+++ b/hadrian/ghci-stack
@@ -3,5 +3,5 @@
set -e
# Replace newlines with spaces, as these otherwise break the ghci invocation on windows.
-GHC_FLAGS="$GHC_FLAGS $(TERM=dumb CABFLAGS=-v0 "hadrian/build-stack" tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci "$@" | tr '\n\r' ' ')"
+GHC_FLAGS="$GHC_FLAGS $(TERM=dumb CABFLAGS=-v0 "hadrian/build-stack" tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci $HADRIAN_ARGS | tr '\n\r' ' ')"
stack exec -- ghci $GHC_FLAGS "$@" -fno-code -fwrite-interface -hidir=.hadrian_ghci/interface -O0 ghc/Main.hs +RTS -A128m