about summary refs log tree commit diff
path: root/nixpkgs/doc/functions/library.xml
blob: 788ea0b94f1fee8ee3a67ea56e193b858bd16174 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<section xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xml:id="sec-functions-library">
 <title>Nixpkgs Library Functions</title>

 <para>
  Nixpkgs provides a standard library at <varname>pkgs.lib</varname>, or through <code>import &lt;nixpkgs/lib&gt;</code>.
 </para>

 <!-- The index must have a root element to declare namespaces, but we
      don't want to include it, so we select all of its children. -->
 <xi:include href="./library/generated/index.xml" xpointer="xpointer(/root/*)" />
</section>