Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 480acb7

Browse files
committedNov 17, 2017
Add references to the Wikipedia article of the patch command
Fixes #31684
1 parent eb85761 commit 480acb7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
 

‎doc/coding-conventions.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,9 @@ src = fetchFromGitHub {
662662

663663
<section xml:id="sec-patches"><title>Patches</title>
664664
<para>Only patches that are unique to <literal>nixpkgs</literal> should be
665-
included in <literal>nixpkgs</literal> source.</para>
665+
included in <literal>nixpkgs</literal> source. For further information about
666+
patches refer to the <link xlink:href="https://en.wikipedia.org/wiki/Patch_%28Unix%29">
667+
Wikipedia article</link>.</para>
666668
<para>Patches available online should be retrieved using
667669
<literal>fetchpatch</literal>.</para>
668670
<para>

‎doc/stdenv.xml

+5-4
Original file line numberDiff line numberDiff line change
@@ -532,10 +532,11 @@ Additional file types can be supported by setting the
532532

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

0 commit comments

Comments
 (0)
Please sign in to comment.