2018-10-02 20:06:33 +00:00
|
|
|
<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>
|
2019-09-18 20:12:54 +00:00
|
|
|
Nixpkgs provides a standard library at <varname>pkgs.lib</varname>, or through <code>import <nixpkgs/lib></code>.
|
2018-10-02 20:06:33 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<xi:include href="./library/asserts.xml" />
|
|
|
|
|
|
|
|
<xi:include href="./library/attrsets.xml" />
|
2018-12-30 00:10:19 +00:00
|
|
|
|
2019-03-09 05:07:11 +00:00
|
|
|
<!-- These docs are generated via nixdoc. To add another generated
|
2018-12-30 00:10:19 +00:00
|
|
|
library function file to this list, the file
|
|
|
|
`lib-function-docs.nix` must also be updated. -->
|
2019-03-09 05:07:11 +00:00
|
|
|
|
2018-12-30 00:10:19 +00:00
|
|
|
<xi:include href="./library/generated/strings.xml" />
|
2019-03-09 05:07:11 +00:00
|
|
|
|
2018-12-30 00:10:19 +00:00
|
|
|
<xi:include href="./library/generated/trivial.xml" />
|
2019-03-09 05:07:11 +00:00
|
|
|
|
2018-12-30 00:10:19 +00:00
|
|
|
<xi:include href="./library/generated/lists.xml" />
|
2019-03-09 05:07:11 +00:00
|
|
|
|
2018-12-30 00:10:19 +00:00
|
|
|
<xi:include href="./library/generated/debug.xml" />
|
2019-03-09 05:07:11 +00:00
|
|
|
|
2018-12-30 00:10:19 +00:00
|
|
|
<xi:include href="./library/generated/options.xml" />
|
2018-10-02 20:06:33 +00:00
|
|
|
</section>
|