lib/Tools/ghc_setup
author wenzelm
Wed Nov 07 21:42:16 2018 +0100 (9 months ago)
changeset 69255 800b1ce96fce
parent 69242 c911716d29bb
child 69267 517655a528fe
permissions -rwxr-xr-x
more general support for Isabelle/PIDE file formats -- less hardwired Bibtex operations;
wenzelm@69151
     1
#!/usr/bin/env bash
wenzelm@69151
     2
#
wenzelm@69151
     3
# Author: Makarius
wenzelm@69151
     4
#
wenzelm@69151
     5
# DESCRIPTION: setup Glasgow Haskell Compiler setup via Stack
wenzelm@69151
     6
wenzelm@69242
     7
set -e
wenzelm@69242
     8
wenzelm@69242
     9
isabelle_stack setup --resolver "$ISABELLE_STACK_RESOLVER" "$ISABELLE_GHC_VERSION"
wenzelm@69242
    10
isabelle_stack ghci --ghci-options --version
wenzelm@69242
    11
echo -n "$(standard_path "$(isabelle_stack path --programs)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_PROGRAMS"