Skip to content

Commit

Permalink
Update tinymist & use nightly rust
Browse files Browse the repository at this point in the history
  • Loading branch information
AOx0 committed Apr 20, 2024
1 parent de583b7 commit 99b8e59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions helix-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions tinymist-bin/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Alejandro Osornio <[email protected]>
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')
Expand All @@ -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/"
Expand Down
5 changes: 3 additions & 2 deletions typst-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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() {
Expand Down

0 comments on commit 99b8e59

Please sign in to comment.