From 99b8e5948ee63e95f147a29834913f223e60f84f Mon Sep 17 00:00:00 2001 From: Alejandro Osornio Date: Sat, 20 Apr 2024 10:55:38 -0600 Subject: [PATCH] Update tinymist & use nightly rust --- helix-git/PKGBUILD | 7 ++++--- tinymist-bin/PKGBUILD | 4 ++-- typst-git/PKGBUILD | 5 +++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/helix-git/PKGBUILD b/helix-git/PKGBUILD index 79f8187..6989f3a 100644 --- a/helix-git/PKGBUILD +++ b/helix-git/PKGBUILD @@ -7,9 +7,9 @@ pkgver=24.03.r20.gb24c465a0 pkgrel=1 pkgdesc="A text editor written in rust" url="https://helix-editor.com" -_git="https://github.com/helix-editor/${_pkgname}.git" +_git="https://github.com/AOx0/${_pkgname}.git" arch=(x86_64) -makedepends=('git' 'cargo') +makedepends=('git' 'cargo-nightly') depends=() provides=('hx') conflicts=('helix') @@ -76,8 +76,9 @@ EOF _srcenv() { - export RUSTUP_TOOLCHAIN=stable + export RUSTUP_TOOLCHAIN=nightly export CARGO_TARGET_DIR=target + export RUSTFLAGS="-Z threads=2" } build() { diff --git a/tinymist-bin/PKGBUILD b/tinymist-bin/PKGBUILD index 1cad687..78e1b9e 100644 --- a/tinymist-bin/PKGBUILD +++ b/tinymist-bin/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Alejandro Osornio pkgname=tinymist-bin _pkgname=tinymist -pkgver=0.11.3 +pkgver=0.11.5 pkgrel=1 pkgdesc="An integrated language service for Typst" arch=('x86_64') @@ -10,7 +10,7 @@ license=('Apache') makedepends=(cargo) options=('strip') source=("https://github.com/Myriad-Dreamin/tinymist/releases/download/v$pkgver/$_pkgname-linux-x64") -sha256sums=('dd5f40c9854d1d5e2ee75a8c8b178676a9c976515f7585737b4ed7f55b0b3a55') +sha256sums=('3a6dde916018c97f65898b96b926b4e98abdc9f6e10e5841d18d924f10f09e90') package() { cd "$srcdir/" diff --git a/typst-git/PKGBUILD b/typst-git/PKGBUILD index 39fdc54..6a9aca2 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 +makedepends=(cargo-nightly git) provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") @@ -33,8 +33,9 @@ pkgver() { _srcenv() { - export RUSTUP_TOOLCHAIN=stable + export RUSTUP_TOOLCHAIN=nightly export CARGO_TARGET_DIR=target + export RUSTFLAGS="-Z threads=2" } build() {