Skip to content

Commit acb8804

Browse files
committed
refactor: switch from /opt/uv to /usr/share/uv
1 parent cf1bcd1 commit acb8804

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

Containerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ COPY build_files /
33

44
FROM ghcr.io/ublue-os/bazzite-nvidia-open:stable
55

6-
RUN rm /opt && mkdir /opt
7-
86
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
97
--mount=type=cache,dst=/var/cache \
108
--mount=type=cache,dst=/var/log \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ systemctl --user daemon-reexec
9595
| --------------- | -------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
9696
| `golang` | >=1.25.8 | `dnf5` | Used to install system-wide tools under `/usr/bin`. |
9797
| `cargo` | >=1.93.1 | `dnf5` | Used to install system-wide tools under `/usr/bin`. |
98-
| `uv` | >=0.10.9 | `dnf5` | Used to install system-wide tools under `/opt/uv`, symlinked to `/usr/bin`. Defaults to `python` >=3.14.3, which is the system default. |
98+
| `uv` | >=0.10.9 | `dnf5` | Used to install system-wide tools under `/usr/share/uv`, symlinked to `/usr/bin`. Defaults to `python` >=3.14.3, which is the system default. |
9999
| `node-npm` | >=10.9.4 | `dnf5` | Depends on `node` >=22.22.0, which is installed as a dependency. Let me know if you need `pnpm` or other node tooling that we currently don't include. |
100100
| `just-lsp` | >=0.4.0 | `dnf5` | Language server for your `justfile`. |
101101
| `gopls` | >=0.21.1 | `dnf5` | Language server for Go code. |

build_files/uv-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

33
export UV_CACHE_DIR=/var/cache/uv
4-
export UV_TOOL_DIR=/opt/uv
4+
export UV_TOOL_DIR=/usr/share/uv
55
export UV_TOOL_BIN_DIR=/usr/bin
66
export UV_LINK_MODE=copy

0 commit comments

Comments
 (0)