<div dir="ltr">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. <a href="https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/update.sh">https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/update.sh</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 26, 2024 at 10:35 AM Eyal Erez <<a href="mailto:oneself@gmail.com" target="_blank">oneself@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Got it.<div><br></div><div>And what do you do to fully rebuild? git pull [...]; stack upgrade; stack install?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 22, 2024 at 6:13 PM Brandon Allbery <<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I upgrade weekly, but I'm a dev so I'm expected to keep on top of `master`.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 22, 2024 at 8:39 AM Eyal Erez <<a href="mailto:oneself@gmail.com" target="_blank">oneself@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I've tried some of the suggested solutions in the arch linux wiki, but they do not seem to work.<div><br></div><div>I built everything from scratch using stack and seems to be back to working. Thank you for the suggestion.</div><div><br></div><div>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? </div><div><div><br></div></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 20, 2024 at 9:23 PM Brandon Allbery <<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">For what it's worth, the Arch Wiki warns about this (<a href="https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update" target="_blank">https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update</a>) and gives solutions. The way Arch manages its Haskell packages causes problems like this.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 20, 2024 at 2:03 PM Platon Pronko <<a href="mailto:platon7pronko@gmail.com" target="_blank">platon7pronko@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2024-10-20 19:46, Eyal Erez wrote:<br>
> Hi,<br>
> <br>
> I use xmonad on arch linux. I've recently updated my system, as one<br>
> often does, and now my xmonad.hs is failing to compile and I am failing to<br>
> start xmonad.<br>
> <br>
<br>
Might not be very helpful, but I'm also on Arch and I moved from using system-provided Haskell packages for my xmonad needs.<br>
<br>
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.<br>
<br>
Also, there is a truckload of haskell packages and they clutter up the update logs - removing them freshened up things considerably.<br>
<br>
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.<br>
(however, it has the downside of taking 13GB of space in the ~/.stack/ folder, YMMV)<br>
<br>
-- <br>
Best regards,<br>
Platon Pronko<br>
PGP 2A62D77A7A2CB94E<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="'courier new', monospace"><b>Eyal Erez <</b><a href="mailto:oneself@gmail.com" target="_blank"><b>oneself@gmail.com</b></a><b>></b><br><br></font><div><div><font face="'courier new', monospace">There are 10 types of people, those who know binary and those who don't.</font></div></div><div><font face="'courier new', monospace"><br></font></div></div></div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="'courier new', monospace"><b>Eyal Erez <</b><a href="mailto:oneself@gmail.com" target="_blank"><b>oneself@gmail.com</b></a><b>></b><br><br></font><div><div><font face="'courier new', monospace">There are 10 types of people, those who know binary and those who don't.</font></div></div><div><font face="'courier new', monospace"><br></font></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>