Skip to content
Discussion options

You must be logged in to vote

Not via pixi-global.toml. That file only accepts channels, platform, dependencies, exposed, and shortcuts, which is why activation.env failed. [activation.env] exists only on workspace manifests (pixi.toml).

Exposed binaries already bake conda activation into ~/.pixi/bin/trampoline_configuration/nvim12.json under env. To add NVIM_APPNAME and have sync pick it up:

mkdir -p ~/.pixi/envs/nvim12/etc/conda/env_vars.d
printf '%s\n' '{"NVIM_APPNAME":"nvim12"}' > ~/.pixi/envs/nvim12/etc/conda/env_vars.d/nvim.json
pixi global sync

pixi global update or a reinstall rebuilds the prefix and deletes that file. A wrapper on PATH is the option that survives those commands. First-class env on [envs.*] wo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thekpaul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants