[xmonad] Could not load modules after recent update
Brandon Allbery
allbery.b at gmail.com
Sat Oct 26 14:40:24 UTC 2024
I use cabal, not stack. I have an upgrade script but it basically builds
xmonad exe, X11 lib, xmonad lib, xmonad-contrib lib, then my config.
https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/update.sh
On Sat, Oct 26, 2024 at 10:35 AM Eyal Erez <oneself at gmail.com> wrote:
> Got it.
>
> And what do you do to fully rebuild? git pull [...]; stack upgrade; stack
> install?
>
> On Tue, Oct 22, 2024 at 6:13 PM Brandon Allbery <allbery.b at gmail.com>
> wrote:
>
>> I upgrade weekly, but I'm a dev so I'm expected to keep on top of
>> `master`.
>>
>> On Tue, Oct 22, 2024 at 8:39 AM Eyal Erez <oneself at gmail.com> wrote:
>>
>>> I've tried some of the suggested solutions in the arch linux wiki, but
>>> they do not seem to work.
>>>
>>> I built everything from scratch using stack and seems to be back to
>>> working. Thank you for the suggestion.
>>>
>>> I built xmonad and xmonad-contrib off of the v0.18.0 and v0.18.1 tags
>>> respectively. How and how often do you upgrade your installation?
>>>
>>> On Sun, Oct 20, 2024 at 9:23 PM Brandon Allbery <allbery.b at gmail.com>
>>> wrote:
>>>
>>>> For what it's worth, the Arch Wiki warns about this (
>>>> https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update)
>>>> and gives solutions. The way Arch manages its Haskell packages causes
>>>> problems like this.
>>>>
>>>> On Sun, Oct 20, 2024 at 2:03 PM Platon Pronko <platon7pronko at gmail.com>
>>>> wrote:
>>>>
>>>>> On 2024-10-20 19:46, Eyal Erez wrote:
>>>>> > Hi,
>>>>> >
>>>>> > I use xmonad on arch linux. I've recently updated my system, as one
>>>>> > often does, and now my xmonad.hs is failing to compile and I am
>>>>> failing to
>>>>> > start xmonad.
>>>>> >
>>>>>
>>>>> Might not be very helpful, but I'm also on Arch and I moved from using
>>>>> system-provided Haskell packages for my xmonad needs.
>>>>>
>>>>> System-provided packages are upgraded almost on every update, and
>>>>> xmonad has to be recompiled every time, and if you forget to recompile it
>>>>> then after a reboot your DE won't work and you have to drop to a tty to fix
>>>>> that.
>>>>>
>>>>> Also, there is a truckload of haskell packages and they clutter up the
>>>>> update logs - removing them freshened up things considerably.
>>>>>
>>>>> So I can't help you with this particular problem, but I can help you
>>>>> transition to stack-based install, which has the nice benefit of not
>>>>> breaking on system updates.
>>>>> (however, it has the downside of taking 13GB of space in the ~/.stack/
>>>>> folder, YMMV)
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Platon Pronko
>>>>> PGP 2A62D77A7A2CB94E
>>>>> _______________________________________________
>>>>> xmonad mailing list
>>>>> xmonad at haskell.org
>>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>>>>>
>>>>
>>>>
>>>> --
>>>> brandon s allbery kf8nh
>>>> allbery.b at gmail.com
>>>> _______________________________________________
>>>> xmonad mailing list
>>>> xmonad at haskell.org
>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>>>>
>>>
>>>
>>> --
>>> *Eyal Erez <**oneself at gmail.com* <oneself at gmail.com>*>*
>>>
>>> There are 10 types of people, those who know binary and those who don't.
>>>
>>>
>>
>> --
>> brandon s allbery kf8nh
>> allbery.b at gmail.com
>>
>
>
> --
> *Eyal Erez <**oneself at gmail.com* <oneself at gmail.com>*>*
>
> There are 10 types of people, those who know binary and those who don't.
>
>
--
brandon s allbery kf8nh
allbery.b at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20241026/fcc2386f/attachment.html>
More information about the xmonad
mailing list