Skip to content

Commit

Permalink
Nix Reference Manual: keep nix expressions uptodate with nixpkgs (#8703)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd authored Jul 16, 2023
1 parent bc499b2 commit a5c88f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/manual/src/language/constructs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ...;
...
Expand All @@ -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

Expand Down

0 comments on commit a5c88f8

Please sign in to comment.