1
0
Fork 0
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:
Frenco 2023-08-24 02:51:22 +06:30 committed by GitHub
parent 31bc7f39f0
commit fb0f26838e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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