lib/scripts/ghc
author wenzelm
Wed, 24 Feb 2021 18:54:53 +0100
changeset 73299 43ce3b8a25ee
parent 69949 a7a0115061ec
permissions -rwxr-xr-x
proper "latest" tag, otherwise the default pull command from https://hub.docker.com/r/makarius/isabelle won't work;

#!/usr/bin/env bash
#
# Author: Makarius
#
# Invoke ghc via "stack".

if [ -f "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY" ]
then
  isabelle_stack ghc -- "$@"
else
  echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
  exit 127
fi