summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-01-17 18:08:59 +0100
committerJörg Thalheim <joerg@thalheim.io>2021-01-17 18:08:59 +0100
commit1279bf812ca11fa50a501aad5116c51afd7390a6 (patch)
tree46a5de6a33bf5736a3e9b3e886dc7542cec83b61 /doc
parent9541eb734da2e3cf67ff6c9e8e9a1c46b00d5eb1 (diff)
parentd87e126913a3ba87f26f5b0bada589d4cfa8e850 (diff)
Merge remote-tracking branch 'upstream/master' into HEAD
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/rust.section.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 092e84461b81..dda8d485365e 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -567,12 +567,13 @@ in the `~/.config/nixpkgs/overlays` directory.
Add the following to your `configuration.nix`, `home-configuration.nix`, `shell.nix`, or similar:
```
- nixpkgs = {
+{ pkgs ? import <nixpkgs> {
overlays = [
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
# Further overlays go here
];
};
+};
```
Note that this will fetch the latest overlay version when rebuilding your system.