Skip to content

Conversation

@ShotaArima
Copy link
Contributor

When I was using Docker for uv, I encountered the following error

$ docker compose up --build

 => ERROR [app 6/6] RUN . $HOME/.bashrc && uv sync                                                                                0.2s
------                                                                                                                                 
 > [app 6/6] RUN . $HOME/.bashrc && uv sync:
0.121 /bin/sh: 21: .: cannot open /root/.cargo/env: No such file
------
failed to solve: process "/bin/sh -c . $HOME/.bashrc && uv sync" did not complete successfully: exit code: 2

This was due to a change in uv Pull Request #8420

In this change, environment variables that depended on Cargo are now XDG compliant.

@ShotaArima ShotaArima changed the title fix installer path: use XDG base dir instead of Cargo home fix installer path: use XDG base dir instead of Cargo Mar 28, 2025
@shunsock
Copy link
Owner

Thank you for your contribution. I've checked my environment, and the issue is reproducible.

@shunsock shunsock added the bug Something isn't working label Mar 29, 2025
@shunsock shunsock self-requested a review March 29, 2025 00:58
@shunsock shunsock merged commit a31999a into shunsock:main Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants