From f529667201f186004c3d1a44908d153df3cc8b80 Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Mon, 16 Mar 2026 11:36:17 -0400 Subject: [PATCH] fix: resolve uv binary path after fresh install in Makefile The uv installer adds ~/.local/bin/uv but does not update the current shell PATH. Use the discovered path or fall back to ~/.local/bin/uv so the subsequent uv tool install succeeds on first run. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50d2299..2df7d93 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,8 @@ install: submodules exit 1; \ fi @command -v uv >/dev/null 2>&1 || { echo "uv not found. Installing uv..."; curl -LsSf https://astral.sh/uv/install.sh | sh; } - @uv tool install -e . + @UV_BIN=$$(command -v uv 2>/dev/null || echo "$$HOME/.local/bin/uv"); \ + "$$UV_BIN" tool install -e . update: submodules @uv tool install -e . --force --reinstall