doc/rust: add missing fetchfromGitHub to derivation example

This commit is contained in:
Markus S. Wamser 2021-09-19 15:29:06 +02:00 committed by Alyssa Ross
parent 73414b570a
commit b06ffb4b45

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";