use pacman to install rust
This commit is contained in:
parent
a01c3b2fb4
commit
8a8170ab4e
3 changed files with 3 additions and 6 deletions
2
arch.sh
2
arch.sh
|
@ -185,8 +185,6 @@ main() {
|
||||||
git config --global commit.gpgsign true
|
git config --global commit.gpgsign true
|
||||||
|
|
||||||
# === Rust ==
|
# === Rust ==
|
||||||
curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
||||||
source "$HOME"/.cargo/env
|
|
||||||
# Dev tools
|
# Dev tools
|
||||||
rustup component add rust-analysis rls
|
rustup component add rust-analysis rls
|
||||||
# Add Cargo packages from Rust
|
# Add Cargo packages from Rust
|
||||||
|
|
|
@ -29,7 +29,7 @@ main() {
|
||||||
fish autoconf valgrind automake python-virtualenv gdb \
|
fish autoconf valgrind automake python-virtualenv gdb \
|
||||||
tk sdl2_mixer exa texlive-most fzf glu man-pages-fr \
|
tk sdl2_mixer exa texlive-most fzf glu man-pages-fr \
|
||||||
uwufetch python-pip opam pacman-contrib cpanminus \
|
uwufetch python-pip opam pacman-contrib cpanminus \
|
||||||
unison rebuild-detector git-delta sdl2_ttf
|
unison rebuild-detector git-delta sdl2_ttf rustup
|
||||||
|
|
||||||
# === Colors package manager ==
|
# === Colors package manager ==
|
||||||
sed -i "s/#Color/Color/g" /etc/pacman.conf
|
sed -i "s/#Color/Color/g" /etc/pacman.conf
|
||||||
|
@ -52,8 +52,6 @@ main() {
|
||||||
yay -S --noconfirm spim-svn
|
yay -S --noconfirm spim-svn
|
||||||
|
|
||||||
# === Rust ==
|
# === Rust ==
|
||||||
curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
||||||
source "$HOME"/.cargo/env
|
|
||||||
# Dev tools
|
# Dev tools
|
||||||
rustup component add rust-analysis rls
|
rustup component add rust-analysis rls
|
||||||
# Add Cargo packages from Rust
|
# Add Cargo packages from Rust
|
||||||
|
|
|
@ -109,7 +109,8 @@
|
||||||
"gnome-text-editor",
|
"gnome-text-editor",
|
||||||
"rebuild-detector",
|
"rebuild-detector",
|
||||||
"git-delta",
|
"git-delta",
|
||||||
"sdl2_ttf"
|
"sdl2_ttf",
|
||||||
|
"rustup"
|
||||||
],
|
],
|
||||||
"plugin": null,
|
"plugin": null,
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|
Loading…
Reference in a new issue