aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/nix-build.xml
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-10-05 20:41:57 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-10-05 20:41:57 +0000
commit99ef620c8c453949719c45229a8bd4f1cd5a66a8 (patch)
tree00ccafd91f5dc6ec5dd1ad57682f4a6edda2a540 /doc/manual/nix-build.xml
parent8396b592860bcb7b6394e7201b20d63ea92887d6 (diff)
* Documented nix-instantiate --xml, --strict.
* Added an example to the nix-build section.
Diffstat (limited to 'doc/manual/nix-build.xml')
-rw-r--r--doc/manual/nix-build.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/nix-build.xml b/doc/manual/nix-build.xml
index dc4a5ac87..bb64085f8 100644
--- a/doc/manual/nix-build.xml
+++ b/doc/manual/nix-build.xml
@@ -117,4 +117,20 @@ except for <option>--arg</option> and <option>--attr</option> /
</refsection>
+<refsection><title>Examples</title>
+
+<screen>
+$ nix-build pkgs/top-level/all-packages.nix -A firefox
+store derivation is /nix/store/qybprl8sz2lc...-firefox-1.5.0.7.drv
+/nix/store/d18hyl92g30l...-firefox-1.5.0.7
+
+$ ls -l result
+lrwxrwxrwx <replaceable>...</replaceable> result -> /nix/store/d18hyl92g30l...-firefox-1.5.0.7
+
+$ ls ./result/bin/
+firefox firefox-config</screen>
+
+</refsection>
+
+
</refentry>