From d035b4fd8d8454cfbfa0d04de8e29a8a0e7f664e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 17 Apr 2025 14:02:21 +0300 Subject: [PATCH] ci(.radicle/ambient.yaml): add Radicle bin directory to path I previously installed Radicle from a `deb`, which meant `rad` is in `/usr/bin`, and thus in the default `$PATH`. But now I install it with the Radicle installer, and need to add `/root/.radicle/bin` to `$PATH`. Signed-off-by: Lars Wirzenius --- .radicle/ambient.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.radicle/ambient.yaml b/.radicle/ambient.yaml index d43b4b6c..155d60b7 100644 --- a/.radicle/ambient.yaml +++ b/.radicle/ambient.yaml @@ -30,7 +30,10 @@ plan: export CARGO_TARGET_DIR=/workspace/cache export CARGO_HOME=/workspace/deps export HOME=/root - export PATH="/root/.cargo/bin:$PATH" + export PATH="/root/.cargo/bin:/root/.radicle/bin:$PATH" + + # Check that `rad` is there. + rad --help >/dev/null || (echo rad is not there; exit 1) cargo doc --workspace --no-deps