diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-05T20·41+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-05T20·41+0000 |
commit | 99ef620c8c453949719c45229a8bd4f1cd5a66a8 (patch) | |
tree | 00ccafd91f5dc6ec5dd1ad57682f4a6edda2a540 /doc/manual/nix-build.xml | |
parent | 8396b592860bcb7b6394e7201b20d63ea92887d6 (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.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/nix-build.xml b/doc/manual/nix-build.xml index dc4a5ac874b6..bb64085f8380 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> |