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