Package Details: flexo-git 1.0.6.r4.g95d4407-1

Git Clone URL: https://aur.archlinux.org/flexo-git.git (read-only, click to copy)
Package Base: flexo-git
Description: A central pacman cache
Upstream URL: https://github.com/nroi/flexo
Keywords: cache http mirror packages pacman
Licenses: MIT
Provides: flexo
Submitter: nrio
Maintainer: nrio
Last Packager: nrio
Votes: 4
Popularity: 0.066066
First Submitted: 2020-05-10 14:46
Last Updated: 2020-09-08 18:21

Pinned Comments

nrio commented on 2020-12-20 11:27

If you have installed Flexo prior to 2020-12-20, please edit your /etc/flexo/flexo.toml file and replace the value of "mirrors_status_json_endpoint" by "https://archlinux.org/mirrors/status/json/". (Notice that the URL does NOT include www). If you don't change this value, Flexo will eventually fail to start.

Latest Comments

nrio commented on 2020-12-20 11:27

If you have installed Flexo prior to 2020-12-20, please edit your /etc/flexo/flexo.toml file and replace the value of "mirrors_status_json_endpoint" by "https://archlinux.org/mirrors/status/json/". (Notice that the URL does NOT include www). If you don't change this value, Flexo will eventually fail to start.

nrio commented on 2020-09-08 18:22

@zhimsel sounds reasonable, I've updated the PKGBUILD to use the config from the git repo.

zhimsel commented on 2020-09-08 15:43

Looks like the config file is out of date: https://github.com/nroi/flexo/blob/master/flexo/conf/flexo.toml

Maybe they should be retrieved from the git repo directly, not included in the package.

nrio commented on 2020-05-11 20:32

@cubie thanks for reporting this. Interestingly, popular packages such as alacritty-git or ripgrep-git have the same issue.

running prepare() like you suggested is not ideal, because I would prefer to not mess with the user's rustup config. Also, the user may not even have rustup installed. Cargo is provided both by rust and rustup, so the user may have installed rust instead of rustup.

I'm still looking for another rust package on AUR that has an elegant solution to this problem, until then, if you run into this issue, just run

rustup install stable
rustup default stable

and build the package again.

cubi commented on 2020-05-10 22:02

Hi, thanks for providing flexo.

I had a error running makepkg:

==> Starting build()...
error: no default toolchain configured

I solved it by adding this

prepare() {
    rustup default stable
}

to the PKGBUILD file. Maybe there is a better solution?

Best regards