From 5e0ae607f6bb2353bb321f805be9e53b9919986e Mon Sep 17 00:00:00 2001 From: Alejandro Osornio Date: Sat, 15 Jun 2024 03:10:20 -0600 Subject: [PATCH] Revert "Use stable rust" This reverts commit ebbbcbd67b3856fbd98d4b286cb3755273585c35. --- entrypoint.sh | 2 +- helix-git/PKGBUILD | 6 +++--- typst-git/PKGBUILD | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 18eb00b..1b13d2e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,7 +22,7 @@ rm ./gpg_key gpg --list-keys --keyid-format=long gpg --list-secret-keys --keyid-format=long -for i in typst-git helix-git gitkraken-wayland; do +for i in helix-git gitkraken-wayland; do status=13 git submodule update --init $i cd $i diff --git a/helix-git/PKGBUILD b/helix-git/PKGBUILD index bb00815..7d2d09f 100644 --- a/helix-git/PKGBUILD +++ b/helix-git/PKGBUILD @@ -10,7 +10,7 @@ pkgdesc="A text editor written in rust" url="https://helix-editor.com" _git="https://github.com/AOx0/${_pkgname}.git" arch=(x86_64) -makedepends=('git' 'cargo') +makedepends=('git' 'cargo-nightly') depends=() provides=('hx') conflicts=('helix') @@ -77,9 +77,9 @@ EOF _srcenv() { - export RUSTUP_TOOLCHAIN=stable + export RUSTUP_TOOLCHAIN=nightly export CARGO_TARGET_DIR=target - # export RUSTFLAGS="-Z threads=2" + export RUSTFLAGS="-Z threads=2" } build() { diff --git a/typst-git/PKGBUILD b/typst-git/PKGBUILD index 4a634fa..0c02114 100644 --- a/typst-git/PKGBUILD +++ b/typst-git/PKGBUILD @@ -9,7 +9,7 @@ pkgdesc='A markup-based typesetting system for the sciences' license=('Apache-2.0') arch=('any') _url="https://github.com/$_pkgname/$_pkgname" -makedepends=('cargo' 'git') +makedepends=('cargo-nightly' 'git') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") depends=('gcc-libs' 'glibc') @@ -31,9 +31,9 @@ pkgver() { _srcenv() { - export RUSTUP_TOOLCHAIN=stable + export RUSTUP_TOOLCHAIN=nightly export CARGO_TARGET_DIR=target - # export RUSTFLAGS="-Z threads=2" + export RUSTFLAGS="-Z threads=2" } build() {