skip shell-gpt on OpenBSD, remove rust package

Rust compilation of pydantic-core/jiter takes 20+ minutes on ARM64
and the small root partition can't handle it. shell-gpt is not
essential for the OpenBSD test environment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-03-03 18:25:41 +03:00
parent bdda5794c1
commit d59f8f3e1b

View File

@ -23,7 +23,7 @@ STEPS=9
{{ else if eq .chezmoi.os "freebsd" -}} {{ else if eq .chezmoi.os "freebsd" -}}
STEPS=9 STEPS=9
{{ else if eq .chezmoi.os "openbsd" -}} {{ else if eq .chezmoi.os "openbsd" -}}
STEPS=9 STEPS=8
{{ else if eq .chezmoi.osRelease.id "ubuntu" -}} {{ else if eq .chezmoi.osRelease.id "ubuntu" -}}
STEPS=14 STEPS=14
{{ else if eq .chezmoi.osRelease.id "debian" -}} {{ else if eq .chezmoi.osRelease.id "debian" -}}
@ -392,7 +392,7 @@ $SUDO pkg install --yes $ACT_PACKAGES neovim fish atuin lazygit fd-find pam_ssh_
{{ else if eq .chezmoi.os "openbsd" -}} {{ else if eq .chezmoi.os "openbsd" -}}
$SUDO pkg_add neovim fish%main rust fd ripgrep unzip-- htop fzf bat gawk jq nnn-- mc ngrep mtr-- gcc%11 2>&1|pad $SUDO pkg_add neovim fish%main fd ripgrep unzip-- htop fzf bat gawk jq nnn-- mc ngrep mtr-- gcc%11 2>&1|pad
{{ else if eq .chezmoi.os "darwin" -}} {{ else if eq .chezmoi.os "darwin" -}}
brew install -q fish neovim $ACT_PACKAGES atuin jump fd sk dust lazygit 2>&1|pad brew install -q fish neovim $ACT_PACKAGES atuin jump fd sk dust lazygit 2>&1|pad
@ -458,10 +458,8 @@ fi
fi fi
{{ end -}} {{ end -}}
{{ if ne .chezmoi.os "openbsd" -}}
new_line "Installing shell-gpt" new_line "Installing shell-gpt"
{{ if eq .chezmoi.os "openbsd" -}}
$SUDO sh -c 'TMPDIR=/tmp CARGO_HOME=/tmp/cargo PIP_CACHE_DIR=/tmp/pip-cache PIPX_HOME=/usr/local/lib/pipx PIPX_BIN_DIR=/usr/local/bin pipx install --verbose shell-gpt'
{{ else -}}
pipx install shell-gpt 2>&1|pad pipx install shell-gpt 2>&1|pad
{{ end -}} {{ end -}}