author | wenzelm |
Mon, 05 Nov 2018 20:53:16 +0100 | |
changeset 69242 | c911716d29bb |
parent 69159 | 7ff6284c0d84 |
child 69267 | 517655a528fe |
permissions | -rwxr-xr-x |
69151 | 1 |
#!/usr/bin/env bash |
2 |
# |
|
3 |
# Author: Makarius |
|
4 |
# |
|
5 |
# DESCRIPTION: setup Glasgow Haskell Compiler setup via Stack |
|
6 |
||
69242
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
wenzelm
parents:
69159
diff
changeset
|
7 |
set -e |
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
wenzelm
parents:
69159
diff
changeset
|
8 |
|
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
wenzelm
parents:
69159
diff
changeset
|
9 |
isabelle_stack setup --resolver "$ISABELLE_STACK_RESOLVER" "$ISABELLE_GHC_VERSION" |
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
wenzelm
parents:
69159
diff
changeset
|
10 |
isabelle_stack ghci --ghci-options --version |
c911716d29bb
more robust: avoid isabelle_stack invocation in settings script (potentially slow or failing);
wenzelm
parents:
69159
diff
changeset
|
11 |
echo -n "$(standard_path "$(isabelle_stack path --programs)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_PROGRAMS" |