Closed muelli closed 4 years ago
@muelli, didn't you "implemented" this already?
yeah, I guess it works well enough for me. Thanks for checking in.
For posterity and all the people who are in the same boat as I was: flatpak override --user --env=EXTRA_PATH=/run/host/usr/bin com.jetbrains.IntelliJ-IDEA-Ultimate
My host's node is forwarded to the sandbox as
/run/host/usr/bin/node
. The sandbox' PATH does not include that, however. This is biting me when wanting to run things like "elm-format" which is a wrapped executable that starts like this:Here, "node" is simply not found.
When starting intellij with this env:
env PATH=$PATH:/run/host/usr/bin JAVA_TOOL_OPTIONS=-Djava.io.tmpdir=${XDG_CACHE_HOME}/tmp/ TMPDIR=${XDG_CACHE_HOME}/tmp/ /app/extra/idea-IU/bin/idea.sh
it works better.So I guess I am proposing to include the host's usr/bin/ in the PATH. That might also fix #23