Package Details: himalaya-git r249.767eee9-2

Git Clone URL: https://aur.archlinux.org/himalaya-git.git (read-only, click to copy)
Package Base: himalaya-git
Description: Minimalist CLI email client, written in Rust.
Upstream URL: https://github.com/soywod/himalaya
Licenses: BSD
Conflicts: himalaya
Provides: himalaya
Submitter: emilio-r
Maintainer: emilio-r
Last Packager: emilio-r
Votes: 2
Popularity: 0.000049
First Submitted: 2021-04-04 18:11 (UTC)
Last Updated: 2021-10-15 08:27 (UTC)

Latest Comments

polyzen commented on 2022-03-09 08:54 (UTC) (edited on 2022-03-10 03:17 (UTC) by polyzen)

Patch to sync with work done in the repo package: https://bugs.archlinux.org/task/74082

Excludes the --target "$CARCH-unknown-linux-gnu" flag for cargo fetch so the package still works for users on other architectures.

Switches to the development branch, which is where the work is done. The master branch matches the latest release.

Edit: Fixed the patch. Accidentally used the tag fragment instead of branch when switching back from testing a particular commit.

emilio-r commented on 2021-10-15 08:32 (UTC)

@brunomiguel: Thanks for the heads up. Should be fixed with the latest PKGBUILD.

brunomiguel commented on 2021-10-13 19:08 (UTC) (edited on 2021-10-13 19:11 (UTC) by brunomiguel)

I'm trying to build this package, but I keep getting this error:

Compiling himalaya v0.5.0 (/home/brunomiguel/userrepository/cache/himalaya-git/src/himalaya)
    Finished release [optimized] target(s) in 1m 27s
==> A iniciar check()...
error: no library targets found in package `himalaya`
==> ERRO: Uma falha ocorreu em check().
    A cancelar...
Command exited with non-zero status 4

If I disable the check() step, I can build it

emilio-r commented on 2021-05-05 11:27 (UTC)

@rakoo: Thank you for the heads up! Just pushed your fix to the AUR :) Also, thanks so much for adding the info to the wiki!

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() {