Open beenje opened 6 months ago
Hmm that should be fixable. I also noted that it is placed in between the PIXI_PROJECT_
variables which can then also never work when using them in the PATH
. I think it shouldn't be to hard to fix but I don't see a glaring issue when looking at it. As we already use an IndexMap
and push them in, in the right order.
Checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
With pixi 0.23.0 and the new env activation table, I wanted to replace the following pixi.toml:
With this file, it works:
But with the env activation table, this is what I get:
.pixi/envs/default/bin
isn't part of the PATH.When looking at
shell-hook
, it looks ok. I guess there is an issue in how the variables are expanded?Expected behavior
I'd expect the PATH to be identical to when using task env:
/Users/benjaminbertrand/tmp/myproject/.pixi/envs/tangotest/bin:/Users/benjaminbertrand/tmp/myproject/.pixi/envs/default/bin:/Users/benjaminbertrand/miniconda/condabin:/usr/local/opt/gnu-sed/libexec/gnubin...