Path in VS Code Haskell extension

I’m using Haskell stack and VS Code on Arch Linux. The process is similar to running on Ubuntu, including installing ghcup, but Haskell mode can’t find the language server. The log shows the path that it is trying, and the path doesn’t include ~/.ghcup/bin like I would expect. I tried putting this path into my .bashrc but it didn’t help.

This may be an ArchLinux question honestly, but can someone explain where Haskell mode is getting the path for looking for ghc and the language server?

I think it gets the path from your desktop session. The usual place to configure that is ~/.profile. But ghcup should have set that up for you when it was installed.

Yes I didn’t have to set that path up when using ghcup/Haskell mode on Ubuntu, macOS, or Windows, but for some reason on Arch Linux it’s not set up.