nix-store -r: Add ‘--ignore-unknown’ flag

This flag causes paths that do not have a known substitute to be
quietly ignored.  This is mostly useful for Charon, allowing it to
speed up deployment by letting a machine use substitutes for all
substitutable paths, instead of uploading them.  The latter is
frequently faster, e.g. if the target machine has a fast Internet
connection while the source machine is on a slow ADSL line.
This commit is contained in:
Eelco Dolstra 2012-11-20 00:27:25 +01:00
parent bf3725da2a
commit 9de6bc5d05
4 changed files with 44 additions and 10 deletions

View file

@ -182,7 +182,14 @@ printed.)</para>
<listitem><para>Print on standard error a description of what
packages would be built or downloaded, without actually performing
the operation</para></listitem>
the operation.</para></listitem>
</varlistentry>
<varlistentry><term><option>--ignore-unknown</option></term>
<listitem><para>If a non-derivation path does not have a
substitute, then silently ignore it.</para></listitem>
</varlistentry>