diff options
author | darealshinji <djcj@gmx.de> | 2014-09-20T07·08+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-23T13·10+0200 |
commit | a5b5ebc45fa770f88a4e375fd2b4ebd36a4e4cbe (patch) | |
tree | 81af800f4bf2c36bb05e9d8fc5e7bb5e017bb197 /doc/manual/command-ref | |
parent | c313d86bb89c856ada169e5eb4941061ad182c29 (diff) |
add manpage for nix-generate-patches
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r-- | doc/manual/command-ref/nix-generate-patches.xml | 44 | ||||
-rw-r--r-- | doc/manual/command-ref/utilities.xml | 1 |
2 files changed, 45 insertions, 0 deletions
diff --git a/doc/manual/command-ref/nix-generate-patches.xml b/doc/manual/command-ref/nix-generate-patches.xml new file mode 100644 index 000000000000..70bec432d28e --- /dev/null +++ b/doc/manual/command-ref/nix-generate-patches.xml @@ -0,0 +1,44 @@ +<refentry xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + version="5.0" + xml:id="sec-nix-generate-patches"> + +<refmeta> + <refentrytitle>nix-generate-patches</refentrytitle> + <manvolnum>1</manvolnum> + <refmiscinfo class="source">Nix</refmiscinfo> + <refmiscinfo class="version"><xi:include href="../version.txt" parse="text"/></refmiscinfo> +</refmeta> + +<refnamediv> + <refname>nix-generate-patches</refname> + <refpurpose>generates binary patches between NAR files</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <cmdsynopsis> + <command>nix-generate-patches</command> + <arg choice='plain'><replaceable>NAR-DIR</replaceable></arg> + <arg choice='plain'><replaceable>PATCH-DIR</replaceable></arg> + <arg choice='plain'><replaceable>PATCH-URI</replaceable></arg> + <arg choice='plain'><replaceable>OLD-MANIFEST</replaceable></arg> + <arg choice='plain'><replaceable>NEW-MANIFEST</replaceable></arg> + </cmdsynopsis> +</refsynopsisdiv> + + +<refsection><title>Description</title> + +<para>The command <command>nix-generate-patches</command> generates +binary patches between NAR files listed in OLD-MANIFEST and NEW-MANIFEST. +The patches are written to the directory PATCH-DIR, and the prefix +PATCH-URI is used to generate URIs for the patches. The patches are +added to NEW-MANIFEST. All NARs are required to exist in NAR-DIR. +Patches are generated between succeeding versions of packages with +the same name.</para> + +</refsection> + + +</refentry> diff --git a/doc/manual/command-ref/utilities.xml b/doc/manual/command-ref/utilities.xml index 190962ceae74..d5650fd38f43 100644 --- a/doc/manual/command-ref/utilities.xml +++ b/doc/manual/command-ref/utilities.xml @@ -13,6 +13,7 @@ work with Nix.</para> <xi:include href="nix-collect-garbage.xml" /> <xi:include href="nix-copy-closure.xml" /> <xi:include href="nix-daemon.xml" /> +<xi:include href="nix-generate-patches.xml" /> <xi:include href="nix-hash.xml" /> <xi:include href="nix-install-package.xml" /> <xi:include href="nix-instantiate.xml" /> |