You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can probably implement the fix suggested here by instead copying all the binaries to an isolated directory, and symlinking them into the output binary directory. Then, setenv can prepend the isolated directory instead of the global install location.
NB. I think this only actually applies to the non-Nix configuration as Nix takes care of paths for us via wrapper scripts.
There may be a way to do this without PATH tinkering; all the binaries live near each other on disk so maybe they can know where their siblings are somehow.
Related:
ubuntu-latest
GitHub Actions runner #4059For example, on a Debian package installation, the script prepends
/usr/lib/kframework/../../bin
toPATH
:k/k-distribution/src/main/scripts/lib/setenv
Line 12 in ab78f57
As a consequence, the user cannot override a dependency in
/usr/bin
by updating thePATH
, although that might be necessary in certain cases:python3
to a virtual environment Kompile executes post-processing command in modified environment #2974java
to a more recent version Cannot install K onubuntu-latest
GitHub Actions runner #4059Instead of prepending
/usr/bin
toPATH
, the script should prepend a directory that only contains K executables: #2974 (comment).Also, to make replacing the
java
dependency easier, consider increasing the priority ofJAVA_HOME
:k/k-distribution/src/main/scripts/lib/checkJava
Line 8 in 83f6df4
The text was updated successfully, but these errors were encountered: