Skip to content

Commit

Permalink
brew: add rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Jul 19, 2024
1 parent c9bc91c commit 6f9aa06
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions .config/brew/Brewfile##c.Me
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ brew "python@3.11"
brew "python@3.8"
brew "python@3.9"
brew "ripgrep"
brew "rustup", link: true
brew "tectonic"
brew "trash"
brew "uv"
Expand Down
1 change: 0 additions & 1 deletion .config/fish/completions/rustup.fish

This file was deleted.

9 changes: 1 addition & 8 deletions .config/yadm/bootstrap.d/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# Install Homebrew and packages

### brew ###
export PATH="/opt/homebrew/bin:/usr/local/bin:/home/linuxbrew/.linuxbrew/bin${PATH+:$PATH}"
if ! has brew; then
debug "Installing Homebrew"
Expand All @@ -15,11 +14,5 @@ if [ -n "${CI:-}" ]; then
debugw "Skipping due to \$CI"
elif ! has yadm || ! brew bundle check &>/dev/null; then
brew bundle install --no-lock
fi

### rust ###
if ! has rustup; then
debug "Installing Rust"
export CARGO_HOME=~/.local/share/cargo RUSTUP_HOME=~/.local/share/rustup
curl -fsS https://sh.rustup.rs | sh -s -- -y --quiet --no-modify-path
RUSTUP_HOME=~/.local/share/rustup rustup default stable
fi

0 comments on commit 6f9aa06

Please sign in to comment.