doc: gnu hello is much simpler than cpio

This patch changes the documentation about simple packages. cpio was
listed as simplest possible package, which is not true anymore, gnu
hello is much simpler.
This commit is contained in:
Matthias Beyer 2015-07-17 17:00:20 +02:00
parent bf596463fd
commit 15be920354

View File

@ -55,18 +55,18 @@ $ git add pkgs/development/libraries/libfoo/default.nix</screen>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>GNU cpio: <link <para>GNU Hello: <link
xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/archivers/cpio/default.nix"><filename>pkgs/tools/archivers/cpio/default.nix</filename></link>. xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/hello/ex-2/default.nix"><filename>pkgs/applications/misc/hello/ex-2/default.nix</filename></link>.
The simplest possible package. The generic builder in Trivial package, which specifies some <varname>meta</varname>
<varname>stdenv</varname> does everything for you. It has attributes which is good practice.</para>
no dependencies beyond <varname>stdenv</varname>.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>GNU Hello: <link <para>GNU cpio: <link
xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/hello/ex-2/default.nix"><filename>pkgs/applications/misc/hello/ex-2/default.nix</filename></link>. xlink:href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/archivers/cpio/default.nix"><filename>pkgs/tools/archivers/cpio/default.nix</filename></link>.
Also trivial, but it specifies some <varname>meta</varname> Also a simple package. The generic builder in
attributes which is good practice.</para> <varname>stdenv</varname> does everything for you. It has
no dependencies beyond <varname>stdenv</varname>.</para>
</listitem> </listitem>
<listitem> <listitem>