diff options
author | pho <pho@pkgsrc.org> | 2020-01-09 12:29:32 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2020-01-09 12:29:32 +0000 |
commit | b8402145b7a91e0a8fbe4fe393dde141cf525707 (patch) | |
tree | 66a4324e6027c9f6b89733eb2bd1dea7b737b8d3 /lang/ghc88 | |
parent | 902d63982831f5372adabcf0d6595ab05320f911 (diff) | |
download | pkgsrc-b8402145b7a91e0a8fbe4fe393dde141cf525707.tar.gz |
Use hashed package keys for (un)installing Cabal packages
Starting from somewhere around GHC 7.8, Cabal installs packages with a
hashed package key instead of just "{NAME}-{VERSION}". In other words,
the pair of the plain package name and the version is no longer unique
in the package DB, and using it for uninstallation may also remove
packages that we didn't mean to remove.
This is paricularly problematic because GHC comes with several bundled
Cabal packages. Installing and uninstalling a package with the same
name could break GHC itself, if the uninstallation is performed
without hashed keys.
Diffstat (limited to 'lang/ghc88')
0 files changed, 0 insertions, 0 deletions