Open philderbeast opened 10 months ago
In principle I don't see why not. But the info needs to come from GHC somehow.
The snapshot config files are generated on the fly: https://github.com/commercialhaskell/stackage-server/blob/master/src/Handler/StackageHome.hs#L66
I discovered that https://github.com/commercialhaskell/stackage-content/blob/master/stack/global-hints.yaml exists, but it's not made available over HTTP anywhere.
(It's used by stackage-server-cron, which reads the file off the filesystem.)
In the Stack docs, it says we can use
resolver: ghc-x.y.z
.I can get a
cabal.config
file for LTS and nightly resolvers. Could we provide acabal.config
forghc-x.y.z
resolvers too? If so then I'd expect it would show packages shipped with the compiler.