Any way to get specify the local of the .pixi envs directory? #6342
-
|
I'm currently hitting an issue because pixi always creates .pixi alongside pixi.toml with seemingly no way to override this and place the env somewhere else. This is causing an issue because I'm trying to use pixi to create a build/run environment for a project the depends on linking against Python amongst many other things, and the pixi.toml in the repo root causes errors in CMake: I can work around this by symlinking ~/code/repo to ~/code/repo-cmake-source-hack and running configure against that as the source directory: but that's a bit ugly. I can't really restructure the entire repo to place the cmake source under another directory and the pixi.toml above that either. Is there any way to force pixi to create the env somewhere else? e.g. in ~/.pixi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
https://pixi.prefix.dev/latest/reference/pixi_configuration/#detached-environments are you looking for |
Beta Was this translation helpful? Give feedback.
That was indeed exactly what I wanted, thanks!