[WIN] MSYS2 aliases .pixi/<env_dir>/Libary/bin to .pixi/<env_dir>/Library/usr/bin but different content
#3818
Unanswered
simone-ruffini-kaab
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Conda packages built for windows usually unpack all binaries in
<pixi_env_dir>/Libary/bin.MSYS2 packages (from conda_foge) are a bit different, they unpack binaries in
<pixi_env_dir/Libary/usr/bininstead of/bin(makes sense since in linux that is a standard system directory where binaries are found).BUT: MSYS2 binaries need a root dir that complies with Linux directory tree, so when you run any application (
which,make,where,sh) they map the linux/to<pixi_env_dir>/Library/, hence in theory an MSYS utility should see this:Unfortunately this is not what is happening, internally the tools treat
/binas/usr/binwith the following result:This is a huge problem because the two folders in windows are not the same folders and therefore don't have the same content.
The consequence is that conda binaries are usually available in
<pixi_env_dir>/Library/bintherefore when I want to access them frommakeorshthey are not found since these tools look into<pixi_env_dir>/Library/usr/bin.Hence, my question is how did you solve this?
Did you repackage all your conda packages to unpack in
/usr/bin. Did you repackage onlyMSYS2packages? What are the options here?Related question on msys GH
Beta Was this translation helpful? Give feedback.
All reactions