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
wrapper.in: Allow runtime ghc-pkgs to be a superset of compile-time ghc-pkgs
This still makes sure that ghc has been compiled with the same core
libraries as hls while it allows runtime environments where other
packages have been added to the ghc-pkg database.
This commit also adds that file to the sdist, so that distro
packagers can use it.
-e "s/@@BOOT_PKGS@@/$(shell ghc-pkg-$(GHC_VERSION) --global list --simple-output)/"\
109
110
-e "s/@@ABI_HASHES@@/$(shell fordepin`ghc-pkg-$(GHC_VERSION) --global list --simple-output`;doprintf"%s:""$$dep"&& ghc-pkg-$(GHC_VERSION) field $$dep abi --simple-output ;done| tr '\n'''| xargs)/"\
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)"
80
+
MY_ABI_HASHES="$(for dep in${BOOT_PKGS};doprintf"%s:""${dep}"&&"${GHC_PKG}" --global --global-package-db "$PKGCONF" field "${dep}" abi --simple-output ;done| tr '\n'''| xargs)"
0 commit comments