diff options
author | Sinan Mohd <69694713+sinanmohd@users.noreply.github.com> | 2023-07-16 09:25:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 09:25:11 +0000 |
commit | a5c88f860987bd5dec8c96efed1e6c9d8ce7a669 (patch) | |
tree | c0d3455aa1bcf644d419966b45d51e3d3488a2a6 /doc/manual/src/language | |
parent | bc499b2e4e968e754164ff80317810a1ec67277b (diff) |
Nix Reference Manual: keep nix expressions uptodate with nixpkgs (#8703)
Diffstat (limited to 'doc/manual/src/language')
-rw-r--r-- | doc/manual/src/language/constructs.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/src/language/constructs.md b/doc/manual/src/language/constructs.md index c53eb8889..2482f2d17 100644 --- a/doc/manual/src/language/constructs.md +++ b/doc/manual/src/language/constructs.md @@ -92,10 +92,10 @@ In this fragment from `all-packages.nix`, ```nix graphviz = (import ../tools/graphics/graphviz) { inherit fetchurl stdenv libpng libjpeg expat x11 yacc; - inherit (xlibs) libXaw; + inherit (xorg) libXaw; }; -xlibs = { +xorg = { libX11 = ...; libXaw = ...; ... @@ -109,7 +109,7 @@ libjpg = ...; the set used in the function call to the function defined in `../tools/graphics/graphviz` inherits a number of variables from the surrounding scope (`fetchurl` ... `yacc`), but also inherits `libXaw` -(the X Athena Widgets) from the `xlibs` (X11 client-side libraries) set. +(the X Athena Widgets) from the `xorg` set. Summarizing the fragment |