>>106351757 (OP)
this is probably the best place i can ask this question:
i'm on debian 13, installed ghc, xmonad, xmobar from the official repos. i want to save and use my xmobar configuration as a .hs file. the xmobar dev says this is possible, you just invoke xmobar /path/to/xmobar-config.hs as long as your config file imports XMobar since, in his own words, "XMobar is installed as a library in addition to a binary, which is how XMonad works as well".
my issue is that GHC won't recognize XMobar as a library, so it throws an error if i try and import XMobar in my config file. i'm starting to doubt that it's "installed as a library" at all, and i'm worried that if i want to use a .hs config file, i'm going to have to fiddle with cabal. halp?