mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-util/grok-build: disable auto-updates
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -79,6 +79,12 @@ src_prepare() {
|
|||||||
-i "$f" || die
|
-i "$f" || die
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Disable auto-updates
|
||||||
|
sed \
|
||||||
|
-e '1i #![allow(unreachable_code)]' \
|
||||||
|
-e '/fn env_installer(/a \ return Some("portage");' \
|
||||||
|
-i crates/codegen/xai-grok-update/src/auto_update.rs || die
|
||||||
|
|
||||||
# Cargo offline fetch workaround
|
# Cargo offline fetch workaround
|
||||||
local url commit path
|
local url commit path
|
||||||
IFS=";" read -r url commit path <<<"${GIT_CRATES[async-openai]}"
|
IFS=";" read -r url commit path <<<"${GIT_CRATES[async-openai]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user