From 153ce67e9c5d497cc038b4cbbb2b4d31e0f73072 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 17 Apr 2022 07:18:22 -1000 Subject: [PATCH] ;tools: generalise hie-mac.yaml --- hie-mac.yaml => hie-other.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename hie-mac.yaml => hie-other.yaml (76%) diff --git a/hie-mac.yaml b/hie-other.yaml similarity index 76% rename from hie-mac.yaml rename to hie-other.yaml index 8194b137c..1dad7acf2 100644 --- a/hie-mac.yaml +++ b/hie-other.yaml @@ -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):