Package Details: himalaya-git r713.681837b-1

Git Clone URL: https://aur.archlinux.org/himalaya-git.git (read-only, click to copy)
Package Base: himalaya-git
Description: CLI to manage emails, written in Rust
Upstream URL: https://github.com/pimalaya/himalaya
Keywords: cli email imap pimalaya rust smtp
Licenses: MIT
Conflicts: himalaya
Provides: himalaya
Submitter: emilio-r
Maintainer: None
Last Packager: adamperkowski
Votes: 3
Popularity: 0.022498
First Submitted: 2021-04-04 18:11 (UTC)
Last Updated: 2024-09-12 03:54 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

rakoo commented on 2021-04-26 22:23 (UTC) (edited on 2021-04-26 22:23 (UTC) by rakoo)

I'm not doing any rust development locally and when installing this package I got this error:

error: no override and no default toolchain set
==> ERROR: A failure occurred in build().
    Aborting...

I stumbled upon this link that proposes a fix that allows me to build:

https://www.gitmemory.com/issue/vn971/rua/133/663632127

Basically here's the diff:

diff --git a/PKGBUILD b/PKGBUILD
index 0399ae6..5531129 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,12 +21,12 @@ pkgver() {

 build() {
        cd "$_pkgname"
-       cargo build --release --locked --all-features --target-dir=target
+       RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
 }

 check() {
    cd "$_pkgname"
-   cargo test --release --locked --target-dir=target
+   RUSTUP_TOOLCHAIN=stable cargo test --release --locked --target-dir=target
 }

 package() {