Skip to content

Installation instruction in tutorial fails when using snap to install rustup. #3398

Description

@tothambrus11

I installed my rust toolchain via rustup (sudo snap install rustup --classic, then install the default stable toolchain.

When executing the installation command recommend in nextest's tutorial, I get the following error:

curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
tar: /home/ambrus/.cargo/bin: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
curl: (23) Failure writing output to destination

My rustup installed cargo here: /snap/bin/cargo.

It would be useful to create either a less intrusive setup process or the setup script detecting common cargo paths or using $(which cargo) in the tutorial instead of a hardcoded path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions