Skip to content

Commit

Permalink
doc/rust: add missing fetchfromGitHub to derivation example
Browse files Browse the repository at this point in the history
  • Loading branch information
wamserma authored and alyssais committed Sep 19, 2021
1 parent 73414b5 commit b06ffb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit b06ffb4

Please sign in to comment.