sharkdp / pastel

A command-line tool to generate, analyze, convert and manipulate colors
Apache License 2.0
5.04k stars 97 forks source link

Arch linux build error (no default toolchain configured) #71

Closed A1rPun closed 5 years ago

A1rPun commented 5 years ago

I have trouble installing this awesome package on my distro using:

$ yay -S pastel

The following gets logged to console:

==> Starting build()...
error: no default toolchain configured
==> ERROR: A failure occurred in build().
    Aborting...
Error making: pastel

My yay version

$ yay --version
yay v9.2.0 - libalpm v11.0.3

I'm not sure if this is the right place for this error but it is definitely related.

sharkdp commented 5 years ago

Maybe @wezm can help?

wezm commented 5 years ago

@A1rPun sounds like you have installed rustup from the Arch repos but not installed a Rust toolchain. Try this, then try installing pastel again:

rustup update stable
A1rPun commented 5 years ago

Great! I also had to run the following to make it install:

$ rustup default stable