In the meantime, I was able to hack a working setup by changing the desktop file use a bubble-wrapped env: Exec=steam-run /path/to/JetBrainsGateway-213.6777.25/bin/gateway.sh %u I haven’t yet looked further to see if the the Client’s Java location is the only problem, and/or if it is easily overriden. The Gateway downloads and manages the Jetbrains Client itself, which is not patched for NixOS, and therefore fails to launch. Unfortunately, launching the actual IDE is where it all fell apart. MimeType=x-scheme-handler/jetbrains-gateway In ~/.local/share/applications/sktop: Įxec=/usr/bin/env GATEWAY_JDK=/nix/store/avjxcd46hmxfyisalg47hjqa8mrlzmzf-jetbrains-jdk-11.0.7-b64/lib/openjdk /path/to/JetBrainsGateway-213.6777.25/bin/gateway.sh %u ![]() Specifically for gitpod support, I also needed to have a desktop launcher defined with the same env var for the app, since the gitpod website needs to link back into the gateway app using the jetbrains-gateway url scheme. ![]() ![]() I think packaging the gateway app itself would be quite easy–after looking at the launcher shell script in the Gateway download, I was able to get it running simply by setting the JDK to the already NixOS-packaged JetBrains variant in my nix-store: GATEWAY_JDK=/nix/store/avjxcd46hmxfyisalg47hjqa8mrlzmzf-jetbrains-jdk-11.0.7-b64/lib/openjdk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |