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