diff --git a/helix-git/PKGBUILD b/helix-git/PKGBUILD index 17e1d80..79f8187 100644 --- a/helix-git/PKGBUILD +++ b/helix-git/PKGBUILD @@ -9,7 +9,7 @@ pkgdesc="A text editor written in rust" url="https://helix-editor.com" _git="https://github.com/helix-editor/${_pkgname}.git" arch=(x86_64) -makedepends=('git' 'rustup') +makedepends=('git' 'cargo') depends=() provides=('hx') conflicts=('helix') @@ -76,11 +76,8 @@ EOF _srcenv() { - export RUSTUP_TOOLCHAIN=nightly + export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - export RUSTFLAGS="-Z threads=2" - - rustup toolchain add nightly } build() { diff --git a/typst-git/PKGBUILD b/typst-git/PKGBUILD index 3498a93..39fdc54 100644 --- a/typst-git/PKGBUILD +++ b/typst-git/PKGBUILD @@ -9,8 +9,8 @@ pkgdesc='A markup-based typesetting system for the sciences' license=('Apache-2.0') arch=('any') _url="https://github.com/$_pkgname/$_pkgname" -makedepends=(rustup - git) +makedepends=(cargo + git) provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") depends=(gcc-libs @@ -33,11 +33,8 @@ pkgver() { _srcenv() { - export RUSTUP_TOOLCHAIN=nightly + export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - export RUSTFLAGS="-Z threads=2" - - rustup toolchain add nightly } build() {