lib/Tools/ghc_setup
author wenzelm
Fri, 28 Dec 2018 19:01:35 +0100
changeset 69526 5574d504cf36
parent 69500 db001bc11855
child 69930 b5286c564861
permissions -rwxr-xr-x
more conservative update of Haskell stack (amending 04e54f57a869): 13.0 still lacks notable packages like "Agda" or "darcs";

#!/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"