summaryrefslogtreecommitdiff
path: root/hadrian/ghci
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-04-19 18:39:04 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-23 11:40:02 -0400
commit339e8ece1c844af5c9165efbc3a928890c2f75c7 (patch)
tree5ba01d30f9aa6df676ee2f70f410bc0091f8c003 /hadrian/ghci
parentcd8409c26d4370bf2cdcd76801974e99a9adf7b0 (diff)
downloadhaskell-339e8ece1c844af5c9165efbc3a928890c2f75c7.tar.gz
hadrian/ghci: Allow arguments to be passed to GHCi
Previously the arguments passed to hadrian/ghci were passed both to `hadrian` and GHCi. This is rather odd given that there are essentially not arguments in the intersection of the two. Let's just pass them to GHCi; this allows `hadrian/ghci -Werror`.
Diffstat (limited to 'hadrian/ghci')
-rwxr-xr-xhadrian/ghci2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/ghci b/hadrian/ghci
index b395de4f08..707e87059d 100755
--- a/hadrian/ghci
+++ b/hadrian/ghci
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
-(. "hadrian/ghci-cabal" "$@")
+(. "hadrian/ghci-cabal" $@)