diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am
index 8f382c3f3..65f1f3f44 100644
--- a/doc/manual/Makefile.am
+++ b/doc/manual/Makefile.am
@@ -10,9 +10,9 @@ book.is-valid: $(SOURCES)
nsgmls -wxml -c $(XML) -c $(DOCBOOK_DTD)/docbook.cat -ges $<
touch $@
-man1_MANS = nix.1
+man1_MANS = nix.1 fix.1
-man nix.1: $(SOURCES) book.is-valid
+man nix.1 fix.1: $(SOURCES) book.is-valid
xsltproc $(DOCBOOK_XSL)/manpages/docbook.xsl book.xml
book.html: $(SOURCES) book.is-valid
@@ -24,4 +24,4 @@ install-data-local: book.html
$(INSTALL) -d $(datadir)/nix/manual
$(INSTALL_DATA) book.html $(datadir)/nix/manual
-EXTRA_DIST = $(SOURCES) book.html nix.1 book.is-valid
+EXTRA_DIST = $(SOURCES) book.html nix.1 fix.1 book.is-valid
diff --git a/doc/manual/book.xml b/doc/manual/book.xml
index 63aaa8a07..1f54d4efd 100644
--- a/doc/manual/book.xml
+++ b/doc/manual/book.xml
@@ -4,6 +4,7 @@
+
]>
@@ -52,6 +53,7 @@
Command Reference
&nix-reference;
+ &fix-reference;
&troubleshooting;
diff --git a/doc/manual/fix-reference.xml b/doc/manual/fix-reference.xml
new file mode 100644
index 000000000..aac1be648
--- /dev/null
+++ b/doc/manual/fix-reference.xml
@@ -0,0 +1,37 @@
+
+
+ fix
+ generate Nix expressions from a high-level description
+
+
+
+
+ fix
+
+
+
+
+ files
+
+
+
+
+ Description
+
+
+ The command fix generates Nix expressions from
+ expressions is Fix's own high-level language. While Nix expressions are
+ very primitive and not intended to be written directly, Fix expressions
+ are quite easy to write.
+
+
+
+
+
+
+
+