Skip to content

Commit

Permalink
Add references to the Wikipedia article of the patch command
Browse files Browse the repository at this point in the history
Fixes #31684
  • Loading branch information
pSub committed Nov 17, 2017
1 parent eb85761 commit 480acb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion doc/coding-conventions.xml
Expand Up @@ -662,7 +662,9 @@ src = fetchFromGitHub {

<section xml:id="sec-patches"><title>Patches</title>
<para>Only patches that are unique to <literal>nixpkgs</literal> should be
included in <literal>nixpkgs</literal> source.</para>
included in <literal>nixpkgs</literal> source. For further information about
patches refer to the <link xlink:href="https://en.wikipedia.org/wiki/Patch_%28Unix%29">
Wikipedia article</link>.</para>
<para>Patches available online should be retrieved using
<literal>fetchpatch</literal>.</para>
<para>
Expand Down
9 changes: 5 additions & 4 deletions doc/stdenv.xml
Expand Up @@ -532,10 +532,11 @@ Additional file types can be supported by setting the

<varlistentry>
<term><varname>patches</varname></term>
<listitem><para>The list of patches. They must be in the format
accepted by the <command>patch</command> command, and may
optionally be compressed using <command>gzip</command>
(<filename>.gz</filename>), <command>bzip2</command>
<listitem><para>The list of patches. They must be in the format
accepted by the <command>patch</command> command (for further information
refer to the <link xlink:href="https://en.wikipedia.org/wiki/Patch_%28Unix%29">
Wikipedia article</link>), and may optionally be compressed using
<command>gzip</command> (<filename>.gz</filename>), <command>bzip2</command>
(<filename>.bz2</filename>) or <command>xz</command>
(<filename>.xz</filename>).</para></listitem>
</varlistentry>
Expand Down

0 comments on commit 480acb7

Please sign in to comment.