You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MY_ABI_HASHES="$(for dep in$("${GHC_PKG}" --global --global-package-db "$PKGCONF" list --simple-output);doprintf"%s:""${dep}"&&"${GHC_PKG}" --global --global-package-db "$PKGCONF" field "${dep}" abi --simple-output ;done| tr '\n'''| xargs)"
if [ "${ABI_HASHES}"!="${MY_ABI_HASHES}" ] ;then
err_abi "${MY_ABI_HASHES}"
return 3
fi
unset PKGCONF
@wz1000 suggested this should maybe be done in haskell-language-server-wrapper binary directly. But @fendor noted that the logic to get GHC is actually in hie-bios and this PR is relevant: haskell/hie-bios#282
Currently we do ABI checking here:
haskell-language-server/bindist/wrapper.in
Lines 65 to 81 in f1e146b
@wz1000 suggested this should maybe be done in haskell-language-server-wrapper binary directly. But @fendor noted that the logic to get GHC is actually in hie-bios and this PR is relevant: haskell/hie-bios#282
So we probably want to check ABI in/via hie-bios.
Background:
The text was updated successfully, but these errors were encountered: