From b06ffb4b454286d71ad646fc7032942d2625f589 Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Sun, 19 Sep 2021 15:29:06 +0200 Subject: [PATCH] doc/rust: add missing fetchfromGitHub to derivation example --- doc/languages-frameworks/rust.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 9de9a06465f..71f197af53d 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -20,7 +20,7 @@ or use Mozilla's [Rust nightlies overlay](#using-the-rust-nightlies-overlay). Rust applications are packaged by using the `buildRustPackage` helper from `rustPlatform`: ```nix -{ lib, rustPlatform }: +{ lib, fetchFromGitHub, rustPlatform }: rustPlatform.buildRustPackage rec { pname = "ripgrep";