mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
Update best-practices.md (#689)
This commit is contained in:
parent
31bc7f39f0
commit
fb0f26838e
|
@ -189,7 +189,7 @@ Use the [`pkgs.lib.recursiveUpdate`](https://nixos.org/manual/nixpkgs/stable/#fu
|
|||
```{code-block} nix
|
||||
:class: expression
|
||||
let pkgs = import <nixpkgs> {}; in
|
||||
pkgs.recursiveUpdate { a = { b = 1; }; } { a = { c = 3;}; }
|
||||
pkgs.lib.recursiveUpdate { a = { b = 1; }; } { a = { c = 3;}; }
|
||||
```
|
||||
|
||||
```{code-block} nix
|
||||
|
|
Loading…
Reference in a new issue