diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-07-13T17·39+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-07-13T17·39+0000 |
commit | a5ceb5bc0b2d7fd796cb49e29d45bf568dc0df2f (patch) | |
tree | de5311006e3664c797e060d7953537a045555392 /doc/manual/nix-build.xml | |
parent | d4879b4dfe05708eb174129141299fb343ceb946 (diff) |
* nix-build: default to `./default.nix' if no paths are specified.
So when using Nix as a build tool, you can just say `nix-build' and it will build the top-level derivation defined in `default.nix'.
Diffstat (limited to 'doc/manual/nix-build.xml')
-rw-r--r-- | doc/manual/nix-build.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual/nix-build.xml b/doc/manual/nix-build.xml index 447ef126bfed..0462401bcabb 100644 --- a/doc/manual/nix-build.xml +++ b/doc/manual/nix-build.xml @@ -25,6 +25,10 @@ to multiple derivations, multiple sequentially numbered symlinks are created (<filename>result</filename>, <filename>result-2</filename>, and so on).</para> +<para>If no <replaceable>paths</replaceable> are specified, then +<command>nix-build</command> will use <filename>default.nix</filename> +in the current directory, if it exists.</para> + <note><para><command>nix-build</command> is essentially a wrapper around <link linkend="sec-nix-instantiate"><command>nix-instantiate</command></link> |