lib/Tools/ghc_setup
author wenzelm
Wed, 27 Feb 2019 21:30:16 +0100
changeset 69846 e02e3763e7a4
parent 69500 db001bc11855
child 69930 b5286c564861
permissions -rwxr-xr-x
more compact representation: approx. factor 2;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup Glasgow Haskell Compiler via Stack

set -e

isabelle_stack setup
isabelle_stack ghc -- --version
echo -n "$(standard_path "$(isabelle_stack path --programs)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_PROGRAMS"