diff --git a/ghcup b/ghcup index a3ab95f..13facc7 100755 --- a/ghcup +++ b/ghcup @@ -1540,6 +1540,10 @@ set_ghc() { # shellcheck disable=SC2046 edo ln $(optionv "-v") -sf "haddock-ghc${target_suffix}" "${BIN_LOCATION}/haddock${target_suffix}" fi + if [ -n "${target_suffix}" ] && [ -f "${inst_location}/share" ] ; then + # shellcheck disable=SC2046 + edo ln $(optionv "-v") -sf ghc/"${myghcver}"/share "${BIN_LOCATION}/../share" + fi status_message "Done"