doc/rust: add missing fetchfromGitHub to derivation example

This commit is contained in:
Markus S. Wamser
2021-09-19 16:41:11 +00:00
committed by Alyssa Ross
parent 73414b570a
commit b06ffb4b45
+1 -1
View File
@@ -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";