From 166b8335851955f05ac630936ff9d99879ebf95f Mon Sep 17 00:00:00 2001 From: Marcus Fihlon Date: Sat, 20 Jan 2024 15:26:48 +0100 Subject: [PATCH] contributing: Add missing toolchain install command When newcomers follow the build instructions und use the pre-commit hook, they can face an error message about toolchain not installed. I added install instructions to fix this. Signed-off-by: Marcus Fihlon --- CONTRIBUTING.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba54c187..600d21ef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,11 @@ and ask us any questions you might have. Fractal is written in Rust, so you will need to have at least Rust 1.75 and Cargo available on your system. You will also need to install the Rust nightly toolchain to be able to run our -[pre-commit hook](#pre-commit). +[pre-commit hook](#pre-commit) which can be done with: + +```sh +rustup toolchain install nightly +``` If you're building Fractal with Flatpak (via GNOME Builder or the command line), you will need to manually add the necessary remotes and install the required FreeDesktop extensions: