some pkgs have rust/rustup as their dependency, so switch back to using rustup via pacman
This commit is contained in:
parent
fd21be5123
commit
5d3eb08673
|
@ -41,7 +41,7 @@ PKGS_TO_INSTALL+=(hd-idle hdparm mlocate smartmontools usbutils wol)
|
||||||
PKGS_TO_INSTALL+=(tar unrar unzip xz zip)
|
PKGS_TO_INSTALL+=(tar unrar unzip xz zip)
|
||||||
|
|
||||||
# software devel
|
# software devel
|
||||||
PKGS_TO_INSTALL+=(cargo-audit cargo-auditable cargo-bloat cargo-depgraph cargo-outdated cargo-spellcheck cargo-update cargo-watch)
|
PKGS_TO_INSTALL+=(cargo-audit cargo-auditable cargo-bloat cargo-depgraph cargo-outdated cargo-spellcheck cargo-update cargo-watch rustup)
|
||||||
# cross compilation
|
# cross compilation
|
||||||
PKGS_TO_INSTALL+=(aarch64-linux-gnu-gcc riscv64-elf-gcc riscv64-linux-gnu-gcc)
|
PKGS_TO_INSTALL+=(aarch64-linux-gnu-gcc riscv64-elf-gcc riscv64-linux-gnu-gcc)
|
||||||
|
|
||||||
|
|
|
@ -126,12 +126,6 @@ function git_repo_check()
|
||||||
doas pacman --sync --refresh --refresh --sysupgrade
|
doas pacman --sync --refresh --refresh --sysupgrade
|
||||||
|
|
||||||
# rust-lang
|
# rust-lang
|
||||||
if ! command -v rustup > /dev/null; then
|
|
||||||
pushd /tmp
|
|
||||||
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs -o rust.sh
|
|
||||||
bash rust.sh
|
|
||||||
popd
|
|
||||||
fi
|
|
||||||
rustup default stable
|
rustup default stable
|
||||||
rustup update stable
|
rustup update stable
|
||||||
rustup component add rust-src rust-analyzer rust-analysis
|
rustup component add rust-src rust-analyzer rust-analysis
|
||||||
|
|
Loading…
Reference in New Issue