2006-08-21 19:05:11 +03:00
|
|
|
<refentry xmlns="http://docbook.org/ns/docbook"
|
2014-08-27 19:41:09 +03:00
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-nix-pull">
|
2007-09-19 17:01:41 +03:00
|
|
|
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>nix-pull</refentrytitle>
|
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
<refmiscinfo class="source">Nix</refmiscinfo>
|
2014-09-16 15:57:45 +03:00
|
|
|
<refmiscinfo class="version"><xi:include href="../version.txt" parse="text"/></refmiscinfo>
|
2007-09-19 17:01:41 +03:00
|
|
|
</refmeta>
|
2006-08-21 19:05:11 +03:00
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>nix-pull</refname>
|
|
|
|
<refpurpose>pull substitutes from a network cache</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>nix-pull</command>
|
|
|
|
<arg choice='plain'><replaceable>url</replaceable></arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
|
|
|
|
<refsection><title>Description</title>
|
|
|
|
|
|
|
|
<para>The command <command>nix-pull</command> obtains a list of
|
|
|
|
pre-built store paths from the URL <replaceable>url</replaceable>, and
|
|
|
|
for each of these store paths, registers a substitute derivation that
|
|
|
|
downloads and unpacks it into the Nix store. This is used to speed up
|
|
|
|
installations: if you attempt to install something that has already
|
|
|
|
been built and stored into the network cache, Nix can transparently
|
|
|
|
re-use the pre-built store paths.</para>
|
|
|
|
|
|
|
|
<para>The file at <replaceable>url</replaceable> must be compatible
|
|
|
|
with the files created by <replaceable>nix-push</replaceable>.</para>
|
|
|
|
|
|
|
|
</refsection>
|
|
|
|
|
|
|
|
|
|
|
|
<refsection><title>Examples</title>
|
|
|
|
|
|
|
|
<screen>
|
2005-08-01 10:30:35 +03:00
|
|
|
$ nix-pull http://nix.cs.uu.nl/dist/nix/nixpkgs-0.5pre753/MANIFEST</screen>
|
2004-02-10 18:14:47 +02:00
|
|
|
|
2006-08-21 19:05:11 +03:00
|
|
|
</refsection>
|
|
|
|
|
|
|
|
|
2004-02-10 18:14:47 +02:00
|
|
|
</refentry>
|