Write information about non-reinstallable packages to a file in the libdir
This the GHC ticket for implementing the interface for: https://github.com/haskell/cabal/issues/10087
Since the set of reinstallable packages will now vary depending on GHC version, we should communicate that to Cabal.
An easy way to do that is write a file with a list of non-reinstalable packages into the libdir. If Cabal sees that, then it uses that list, otherwise it uses the old default.
Maybe we could add this to the settings file?
Edited by Teo Camarasu