3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #109603 from alexeicolin/PR--doc-rust-declarative-overlay-error

doc: rust: fix syntax error in code snippet example for declarative overlay
This commit is contained in:
Maximilian Bosch 2021-01-17 16:05:36 +01:00 committed by GitHub
commit 3876561795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.