Merge pull request #8879 from matthiasbeyer/solve-#8687
doc: gnu hello is much simpler than cpio
This commit is contained in:
commit
412049727b
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user