Logs: liberachat/#xmonad
| 2022-08-10 00:28:46 | → | bla joins (~bla@79.191.114.158.ipv4.supernova.orange.pl) |
| 2022-08-10 01:45:11 | → | blaa joins (~bla@79.191.157.121.ipv4.supernova.orange.pl) |
| 2022-08-10 01:45:17 | × | bla quits (~bla@79.191.114.158.ipv4.supernova.orange.pl) (Ping timeout: 268 seconds) |
| 2022-08-10 02:03:47 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds) |
| 2022-08-10 02:23:06 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-08-10 02:33:23 | × | td_ quits (~td@94.134.91.254) (Ping timeout: 268 seconds) |
| 2022-08-10 02:34:40 | → | td_ joins (~td@muedsl-82-207-238-185.citykom.de) |
| 2022-08-10 03:34:49 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds) |
| 2022-08-10 05:37:46 | → | qbt joins (~qbt@user/edun) |
| 2022-08-10 06:52:04 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-10 06:53:15 | × | sogens quits (~sogens@211.30.173.20) (Client Quit) |
| 2022-08-10 06:53:48 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-10 07:01:05 | isaacthekind[m] | uploaded an image: (107KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/iFVTQxAtJPCnRjAFaPFmhGsb/image.png > |
| 2022-08-10 07:01:06 | <isaacthekind[m]> | ok so i rebuilt the whole system to clear any potential junk. i have xmonad up and running, i can see changes i make to the config taking effect, so all looks good. i've now added the build-with-cabal.sh file to ~/.xmonad, but the lsp stuff still isn't fully functional (i get snippets and formatting, but still as you can see by the red crosses, some packages not being found): |
| 2022-08-10 07:01:17 | isaacthekind[m] | uploaded an image: (107KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/rBcJLgKheTZQkUbHciWCHeuS/image.png > |
| 2022-08-10 07:02:09 | isaacthekind[m] | uploaded an image: (11KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ObhiNXnQxaVoiThgWKeUeTxe/image.png > |
| 2022-08-10 07:03:20 | <isaacthekind[m]> | maybe i didn't quite understand the instructions, but if someone could clarify where to go from here that would be great |
| 2022-08-10 07:04:10 | × | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
| 2022-08-10 07:06:46 | → | scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
| 2022-08-10 07:09:03 | × | thunderrd quits (~thunderrd@183.182.115.11) (Read error: Connection reset by peer) |
| 2022-08-10 07:10:24 | × | sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5) |
| 2022-08-10 07:10:41 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-10 07:12:02 | <Lears> | LSP (apparently) expects a (cabal) package, so you have to turn your config into one. The build script is just a way to make xmonad accept that change. |
| 2022-08-10 07:12:39 | <Lears> | It's a consequence of the solution, not the solution itself. |
| 2022-08-10 07:15:33 | × | sogens quits (~sogens@211.30.173.20) (Ping timeout: 252 seconds) |
| 2022-08-10 07:16:00 | <isaacthekind[m]> | hmmm ok. thanks. i'm still not exactly clear on how to proceed from here though, bit of a noob. could you clarify how to do that next step? |
| 2022-08-10 07:16:48 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-08-10 07:16:55 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-10 07:19:01 | <Solid> | you need a cabal file; something that looks a little bit like https://gitlab.com/slotThe/dotfiles/-/blob/master/xmonad/.config/xmonad/xmonadrc.cabal |
| 2022-08-10 07:21:49 | <isaacthekind[m]> | ohhh ok i see there is also a cabal in what geekosaur sent, i'll try adding this and restarting |
| 2022-08-10 07:22:00 | <isaacthekind[m]> | thank you |
| 2022-08-10 07:27:02 | × | totte quits (~totte@h-82-196-112-155.A166.priv.bahnhof.se) (Ping timeout: 268 seconds) |
| 2022-08-10 07:28:22 | <isaacthekind[m]> | i'm not sure what happened but that seems to have totally broken it lol |
| 2022-08-10 07:28:23 | isaacthekind[m] | uploaded an image: (3KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/eiNdwlnrBepiuawISUQPNkCO/image.png > |
| 2022-08-10 07:28:31 | <isaacthekind[m]> | now the lsp doesn't seem to work at all |
| 2022-08-10 07:28:55 | <isaacthekind[m]> | and even when i remove the script and cabal an reboot the lsp stays fully broken |
| 2022-08-10 07:29:29 | <isaacthekind[m]> | what i did was place the cabal file in ~/.xmonad |
| 2022-08-10 07:31:39 | → | aliosablack joins (~chomwitt@2a02:587:dc15:5e00:d0f9:9fe4:8717:f94d) |
| 2022-08-10 07:39:16 | isaacthekind[m] | uploaded an image: (31KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/PDqaTHaDzeBmqIuiqpshqlVn/image.png > |
| 2022-08-10 07:39:17 | <isaacthekind[m]> | not sure if this is helpful, but when i added the cabal file and the lsp fully broke, the output of `:LspInfo` became: |
| 2022-08-10 07:39:29 | isaacthekind[m] | uploaded an image: (31KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/viuVbvnSzEkkJWFIlgQTosPf/image.png > |
| 2022-08-10 07:40:04 | <isaacthekind[m]> | before that it was successfully attaching haskell lsp, but just not finding everything |
| 2022-08-10 07:45:17 | <quarkQuark[m]111> | I've not used LSPs on nvim, but have you checked `:h nvim-lsp-installer-quickstart`? |
| 2022-08-10 07:47:56 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-08-10 07:51:40 | <isaacthekind[m]> | yeah it just tells you to call the setup function, which i do in my lsp setup. if i open an elm file, or bash or smth it'll give automatically load up the relevant lsp stuff. |
| 2022-08-10 07:51:58 | <geekosaur> | note that if you're using my cabal file, you need to remove the dbus and utf8-string dependencies. don't forget to also remove the comma at the end of line 23 |
| 2022-08-10 07:52:23 | <isaacthekind[m]> | ok i'll try that one. |
| 2022-08-10 07:52:53 | <isaacthekind[m]> | to be clear, geekosaur. all i'm aiming for here is add your cabal and your script to ~/.xmonad, then restart xmonad? |
| 2022-08-10 07:53:13 | <geekosaur> | yes |
| 2022-08-10 07:53:24 | <isaacthekind[m]> | thx |
| 2022-08-10 07:53:24 | <isaacthekind[m]> | (add making the appropriate edits to the cabal, as you said) |
| 2022-08-10 07:53:25 | <isaacthekind[m]> | ok |
| 2022-08-10 07:53:46 | <isaacthekind[m]> | s/add/and/ |
| 2022-08-10 07:53:48 | <geekosaur> | I don't know if hls has cache information that may need to be removed |
| 2022-08-10 07:54:05 | <isaacthekind[m]> | if you tell me where to look i can poke around |
| 2022-08-10 07:54:10 | <isaacthekind[m]> | that seems highly likely |
| 2022-08-10 07:54:28 | <isaacthekind[m]> | i tried getting rid of dist-newstyle and letting it regen but that didn't fix it |
| 2022-08-10 07:54:48 | <isaacthekind[m]> | i assume some weird thing maybe got cached if i remove changes, reboot, and it's stays broke. |
| 2022-08-10 07:55:44 | <geekosaur> | doesn't look like it does |
| 2022-08-10 07:56:34 | <geekosaur> | oh, sorry. ~/.cache/ghcide is the cache directory (ghcide is the old name for lsp) |
| 2022-08-10 07:58:08 | <geekosaur> | gah, it's 0400, I need to be asleep 😞 |
| 2022-08-10 07:59:01 | <isaacthekind[m]> | ok yeah i added both files, removed the last 2 lines and the command, still getting same error |
| 2022-08-10 07:59:15 | <isaacthekind[m]> | i can clear that dir tho |
| 2022-08-10 08:01:39 | <isaacthekind[m]> | also cleared ghcide, still same error, i have no clue how this got busted so badly. literally was working fine except lsp wasn't finding some things, now lsp is fully broken, and all i did was add those 2 files to /.xmonad. i could try reinstalling arch and strating over maybe, idk i'm pretty far over my head trying to fix this lsp thing. |
| 2022-08-10 08:01:58 | <isaacthekind[m]> | and yes it is late, thanks very much for the help tho |
| 2022-08-10 08:02:06 | <Solid> | what's the error message that lsp gives you? |
| 2022-08-10 08:02:19 | <isaacthekind[m]> | now it's this |
| 2022-08-10 08:02:20 | isaacthekind[m] | uploaded an image: (3KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/RUmhVnlPXtBSkttpXXnJnETq/image.png > |
| 2022-08-10 08:02:35 | <Solid> | I mean HLS itself, not neovim |
| 2022-08-10 08:02:35 | <isaacthekind[m]> | but i could get it back to this by re-installing arch i'm sure: |
| 2022-08-10 08:02:56 | <isaacthekind[m]> | i'm not sure how i would see something like that |
| 2022-08-10 08:03:21 | <Solid> | easiest way would probably be to just run `haskell-language-server-wrapper` in the project directory |
| 2022-08-10 08:04:04 | isaacthekind[m] | uploaded an image: (55KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/sVhKVvSwOjUDjPEknNPfgDqV/image.png > |
| 2022-08-10 08:04:09 | <isaacthekind[m]> | it's complaining about the hie |
| 2022-08-10 08:04:23 | <isaacthekind[m]> | i will add, i have tried the basic stuff here |
| 2022-08-10 08:04:26 | <isaacthekind[m]> | like implicit-hie |
| 2022-08-10 08:04:54 | <isaacthekind[m]> | (not on this install, but on a previous install where i got this error complaining about the hie.yaml) |
| 2022-08-10 08:04:59 | <Solid> | don't worry about having an hie.yaml; HLS is normally smart enough to figure this out by itself |
| 2022-08-10 08:05:17 | <isaacthekind[m]> | hm ok |
| 2022-08-10 08:05:18 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2022-08-10 08:06:30 | <quarkQuark[m]111> | What's xmonad-bse? Does that package exist? (Maybe meant to be xmonad, base?) |
| 2022-08-10 08:06:40 | <isaacthekind[m]> | that came from geekosaur |
| 2022-08-10 08:06:47 | <Solid> | seems like cabal can't even build the project |
| 2022-08-10 08:06:50 | <isaacthekind[m]> | oh wait one sec i may have misspoke |
| 2022-08-10 08:07:27 | <isaacthekind[m]> | yeah i have no clue why it would not build |
| 2022-08-10 08:07:34 | <isaacthekind[m]> | incase you missed the earlier stuff.. |
| 2022-08-10 08:07:49 | <isaacthekind[m]> | this was the initial state i had it in |
| 2022-08-10 08:08:03 | <isaacthekind[m]> | after a fresh arch install and just putting the basic xmonad stuff on there |
| 2022-08-10 08:08:05 | isaacthekind[m] | uploaded an image: (103KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/GJAwqjTwWSLSKgLuyiroNdxx/image.png > |
| 2022-08-10 08:08:24 | <Solid> | It's really hard to debug things from pictures; do you have a repo somewhere or something? |
| 2022-08-10 08:08:24 | <isaacthekind[m]> | you can see the lsp is connecting fine, it's just not finding some of the packages, |
| 2022-08-10 08:09:12 | <isaacthekind[m]> | i could easiely build one, or i could hop on screenshare (if matrix has that?) |
| 2022-08-10 08:09:28 | <quarkQuark[m]111> | What's the terminal output when you build it? |
| 2022-08-10 08:09:51 | <isaacthekind[m]> | is that just cabal build in the relevant dir |
| 2022-08-10 08:09:58 | <quarkQuark[m]111> | Yes |
| 2022-08-10 08:10:28 | <isaacthekind[m]> | complained about update |
| 2022-08-10 08:10:31 | <isaacthekind[m]> | running cabal update.. |
| 2022-08-10 08:11:05 | isaacthekind[m] | uploaded an image: (74KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/vIPNnzeguVZUwMqHmMAmeKNq/image.png > |
| 2022-08-10 08:13:01 | <Solid> | oh, you're trying to build git |
| 2022-08-10 08:13:49 | <Solid> | that's not on hackage yet, so cabal naturally can't build it and fails; you're probably going to have to point it to the git repo or a local directory somehow (I don't use cabal without stack, so I don't know how to do this) |
All times are in UTC.