... | ... | @@ -48,7 +48,7 @@ However, previously, we *did not* install these libraries in the global GHC pack |
|
|
The reason this is significant now is because GHC depends on some packages (and thus, some shared objects) which are Haskell libraries, but **not** exported by GHC's package database. And we can't throw them away - they're required dynamic dependencies. This means if you globally install a package like terminfo with the same version GHC used, *it will silently overwrite the existing version, and probably break GHC itself*.
|
|
|
|
|
|
|
|
|
Terminfo is a big culprit here, but so is `xhtml` - NixOS maintainers have reported this for example - see [\#8919](https://gitlab.haskell.org//ghc/ghc/issues/8919)
|
|
|
Terminfo is a big culprit here, but so is `xhtml` - NixOS maintainers have reported this for example - see [\#8919](https://gitlab.haskell.org/ghc/ghc/issues/8919)
|
|
|
|
|
|
|
|
|
For many people this might not be a problem, but it is a huge problem for package managers, who \*do\* want to use the global package database. In this instance, it is \*impossible\* for them to have packages which depend on libraries-need-but-not-exposed-by-GHC.
|
... | ... | |