summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3c85ddec76d..dcfbe122788 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,8 @@ pkgver() {
prepare() {
cd "${pkgname%-git}"
- rustup install --no-self-update nightly
+ rustup toolchain list | grep -q '^nightly' ||
+ rustup install --no-self-update nightly
cargo +nightly fetch
}