docs: add more information to Readme

For installation on Nix, the version git tag '5.2.1' seems out of date (there's no `flake.nix` file yet).
This commit is contained in:
Nicolas Hovart 2022-12-13 15:43:07 +01:00 committed by GitHub
parent e3af483fa6
commit 9a4c3dcc0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,8 +32,8 @@ This will install Rustlings and give you access to the `rustlings` command. Run
Basically: Clone the repository at the latest tag, finally run `nix develop` or `nix-shell`. Basically: Clone the repository at the latest tag, finally run `nix develop` or `nix-shell`.
```bash ```bash
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.2.1) # find out the latest version at https://github.com/rust-lang/rustlings/releases/latest
git clone -b 5.2.1 --depth 1 https://github.com/rust-lang/rustlings git clone --depth 1 https://github.com/rust-lang/rustlings
cd rustlings cd rustlings
# if nix version > 2.3 # if nix version > 2.3
nix develop nix develop