Hi!
This is useful info, thanks Erik!
I have found an idea in stack's issue tracker that might be interesting for you:
>> However, maybe it's within the scope
>> of Cabal to allow meta-data which can give suggestions for library
>> installation? If such meta-data existed, I'd be in favor of stack
>> displaying it.
>
> You can use the pkgconfig-depends field of Cabal for showing external
> dependencies. An automated tool could scan available packages of Ubuntu or
> Debian or MSYS/Arch for the according .pc files.
(
https://github.com/commercialhaskell/stack/issues/1384#issuecomment-158613465)
Installation recommendations for system libraries would be a very cool
addition to stack!