lib/Tools/ghc
changeset 69265 bd215c56cd96
parent 69160 30c384e72749
child 69267 517655a528fe
--- a/lib/Tools/ghc	Thu Nov 08 14:56:53 2018 +0100
+++ b/lib/Tools/ghc	Thu Nov 08 14:58:04 2018 +0100
@@ -5,7 +5,7 @@
 # DESCRIPTION: invoke Glasgow Haskell Compiler within the Isabelle environment
 
 if [ -d "$ISABELLE_STACK_ROOT" -a -n "$ISABELLE_GHC" ]; then
-  isabelle_stack ghc -- "$@"
+  isabelle_stack ghc --resolver "$ISABELLE_STACK_RESOLVER" --compiler "$ISABELLE_GHC_VERSION" -- "$@"
 else
   echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
   exit 127