<book xmlns="http://docbook.org/ns/docbook"
      xmlns:xi="http://www.w3.org/2001/XInclude">

  <info>

    <title>Nix User's Guide</title>

    <edition>Version <xi:include href="version.txt" parse="text" /></edition>

    <author>
      <personname>
        <firstname>Eelco</firstname>
        <surname>Dolstra</surname>
      </personname>
      <affiliation>
        <orgname>LogicBlox</orgname>
      </affiliation>
      <contrib>Author</contrib>
    </author>

    <copyright>
      <year>2004-2014</year>
      <holder>Eelco Dolstra</holder>
    </copyright>

    <date>April 2014</date>

  </info>


  <xi:include href="introduction.xml" />
  <xi:include href="quick-start.xml" />
  <xi:include href="installation.xml" />
  <xi:include href="package-management.xml" />
  <xi:include href="writing-nix-expressions.xml" />
  <xi:include href="build-farm.xml" />


  <appendix>
    <title>Command Reference</title>
    <xi:include href="opt-common.xml" />
    <xi:include href="env-common.xml" />

    <section>
      <title>Main commands</title>
      <xi:include href="nix-env.xml" />
      <xi:include href="nix-build.xml" />
      <xi:include href="nix-shell.xml" />
      <xi:include href="nix-store.xml" />
    </section>

    <section>
      <title>Utilities</title>
      <xi:include href="nix-channel.xml" />
      <xi:include href="nix-collect-garbage.xml" />
      <xi:include href="nix-copy-closure.xml" />
      <xi:include href="nix-daemon.xml" />
      <xi:include href="nix-hash.xml" />
      <xi:include href="nix-install-package.xml" />
      <xi:include href="nix-instantiate.xml" />
      <xi:include href="nix-prefetch-url.xml" />
      <xi:include href="nix-pull.xml" />
      <xi:include href="nix-push.xml" />
    </section>

    <section>
      <title>Files</title>
      <xi:include href="conf-file.xml" />
    </section>

  </appendix>

  <xi:include href="troubleshooting.xml" />
  <!-- <xi:include href="bugs.xml" /> -->
  <xi:include href="glossary.xml" />
  <xi:include href="hacking.xml" />

  <appendix>
    <title>Nix Release Notes</title>
    <xi:include href="release-notes.xml"
                xpointer="xmlns(x=http://docbook.org/ns/docbook)xpointer(x:article/x:section)" />
  </appendix>

</book>