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:
commit
3876561795
@ -567,12 +567,13 @@ in the `~/.config/nixpkgs/overlays` directory.
|
|||||||
Add the following to your `configuration.nix`, `home-configuration.nix`, `shell.nix`, or similar:
|
Add the following to your `configuration.nix`, `home-configuration.nix`, `shell.nix`, or similar:
|
||||||
|
|
||||||
```
|
```
|
||||||
nixpkgs = {
|
{ pkgs ? import <nixpkgs> {
|
||||||
overlays = [
|
overlays = [
|
||||||
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
|
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
|
||||||
# Further overlays go here
|
# Further overlays go here
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this will fetch the latest overlay version when rebuilding your system.
|
Note that this will fetch the latest overlay version when rebuilding your system.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user