From 76a94e3b37f6d34fcbbc99aa3b5b73d6af762308 Mon Sep 17 00:00:00 2001 From: Marin Atanasov Nikolov Date: Mon, 10 Nov 2025 17:10:46 +0200 Subject: [PATCH] config.scripts: use `stable` toolchain by default when installing/updating electrs (#5174) --- home.admin/config.scripts/bonus.electrs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/bonus.electrs.sh b/home.admin/config.scripts/bonus.electrs.sh index 007e476ed..6abc63869 100755 --- a/home.admin/config.scripts/bonus.electrs.sh +++ b/home.admin/config.scripts/bonus.electrs.sh @@ -306,7 +306,7 @@ if [ "$1" = "install" ]; then echo "# Installing Rust for the electrs user" echo # https://github.com/romanz/electrs/blob/master/doc/usage.md#build-dependencies - sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain none -y + sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain stable -y sudo apt install -y clang cmake build-essential # for building 'rust-rocksdb' echo @@ -608,7 +608,7 @@ if [ "$1" = "update" ]; then "${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" "${updateVersion}" || exit 1 echo "# Installing build dependencies" - sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain none -y + sudo -u electrs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo -u electrs sh -s -- --default-toolchain stable -y sudo apt install -y clang cmake build-essential # for building 'rust-rocksdb' echo