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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using pixi --version.
Reproducible example
In pixi 0.34, it was possible to use a command like this to get custom exposed executables R and Rscript for the r-base package
pixi global install r-base --export R=r --export Rscript=rscript
Issue description
Case sensitive exposed executable are an unfortunate necessity on Linux and Windows but not macOS. A key example is the executable names for r-base - on Linux and Windows, other programs trying to find R will always look for the R and Rscript and not r and rscript. This was previously possible but now with trampolines it seems that exposed executable names ignore the case. It would be great to have this back as it saves some manual "cleanup" afterward to rename the exposed executables or create symlinks.
Expected behavior
The exposed trampoline links/copies are still called r and rscript, but should be called R and Rscript.
The text was updated successfully, but these errors were encountered:
For comparison purposes we were always lower-casing the executable name.
However, we also returned the lowercase version and exposed executables
as lowercase which doesn't match user expectations.
With this PR we are instead returning the original case.
I cannot judge if this affects current exposed binaries. However, I
assume we would just keep the lower-case exposed binary as written in
the global manifest and only change newly installed tools.
fixes#2478
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
In pixi 0.34, it was possible to use a command like this to get custom exposed executables
R
andRscript
for ther-base
packageIssue description
Case sensitive exposed executable are an unfortunate necessity on Linux and Windows but not macOS. A key example is the executable names for
r-base
- on Linux and Windows, other programs trying to find R will always look for theR
andRscript
and notr
andrscript
. This was previously possible but now with trampolines it seems that exposed executable names ignore the case. It would be great to have this back as it saves some manual "cleanup" afterward to rename the exposed executables or create symlinks.Expected behavior
The exposed trampoline links/copies are still called
r
andrscript
, but should be calledR
andRscript
.The text was updated successfully, but these errors were encountered: