;tools: generalise hie-mac.yaml

This commit is contained in:
Simon Michael 2022-04-17 07:18:22 -10:00
parent 8801ee0085
commit 153ce67e9c

View File

@ -1,10 +1,14 @@
# arm macs users may want to symlink this as hie.yaml to make hls use ghc 8.10
# since there isn't a ghc-9-compatible arm binary for hls yet. Or make it use
# ghc 9.2 if you have built such a hls binary.
# This can be symlinked as hie.yaml to make hls use a different ghc version
# from the default stack.yaml.
#
# Eg mac m1 users could use it to select ghc 8.10,
# until there is a ghc-9-compatible arm hls binary.
# (Though, since such a binary is relatively easy to build yourself,
# and 2-3x faster, I recommend doing that instead.)
cradle:
stack:
stackYaml: "stack9.2.yaml"
stackYaml: "stack8.10.yaml"
# since there is a hie.yaml, these must be listed explicitly
# (a current limitation of hls with a multi-package stack project):