Fix the list of Hadrian arguments
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Thu, 12 Oct 2017 22:29:00 +0000 (23:29 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2017 22:29:00 +0000 (23:29 +0100)
See #435

build.sh

index 5d1c2c2..6c2c038 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -47,7 +47,7 @@ if [ "${CABVER[0]}" -eq 2 -o "${CABVER[0]}" -eq 1 -a "${CABVER[1]}" -ge 24 ]; th
     # let's use the superior 'cabal new-build' mode
 
     "$CABAL" new-build --disable-profiling --disable-documentation -j exe:hadrian
-    "$CABAL" new-run -- hadrian        \
+    "$CABAL" new-run hadrian --        \
         --lint                         \
         --directory "$absoluteRoot/.." \
         "$@"