<div dir="ltr">I'm looking at that page, and aside from one slight documentation bug that doesn't really affect anything here it looks correct to me and shouldn't be able to get the wrong executable name unless something has gone wrong inside xmonad's compile logic. Although that also looks out of date: we support stack building directly, so xmonad should use essentially that build script itself when it sees a `stack.yaml` file.<div><br></div><div>You probably want to use the latest version of the install documentation: <a href="https://github.com/xmonad/xmonad/blob/master/INSTALL.md#build-using-stack">https://github.com/xmonad/xmonad/blob/master/INSTALL.md#build-using-stack</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 22, 2023 at 11:11 AM Jan Detke <<a href="mailto:jandetke@outlook.com">jandetke@outlook.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">Brandon Allbery <<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>> writes:<br>
<br>
> Essentially yes. Arch and derivatives insist on using dynamic linking, and<br>
> you must rebuild your config after every system update to ensure it still<br>
> works. We strongly recommend you use `stack` or `cabal` instead, and<br>
> install `xmonad` and `xmonad-contrib` from Hackage. If you choose not to do<br>
> so, see<br>
> <a href="https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update" rel="noreferrer" target="_blank">https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update</a><br>
<br>
So I went the route of removing everything related to haskell, ghci and cabal from my system and followed the instructions of installing and setting up xmonad with stack. The installation went through and xmonad is recompiling under the usage of the given bash script (which invokes stack build). There are no errors given to me but I noticed that there is no 'xmonad-x86_64-linux' executable generated in my folder after running the script. In fact there is an executable created called '-lm' but I do not know if this is just an issue related to the filename or something else wrong here.<br>
<br>
I followed these instructions on installing xmonad via stack: <a href="https://github.com/xmonad/xmonad/blob/883143fd5895e0da4ee8e50722e3011cf30e2ca6/INSTALL.md" rel="noreferrer" target="_blank">https://github.com/xmonad/xmonad/blob/883143fd5895e0da4ee8e50722e3011cf30e2ca6/INSTALL.md</a><br>
<br>
Can you help me out here?<br>
<br>
Best regards<br>
Jan<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>