Hi,

Here is a small patch to fix a few typos in the nixpkgs manual.

Thanks, Jens
Index: doc/stdenv.xml
===================================================================
--- doc/stdenv.xml	(revision 19853)
+++ doc/stdenv.xml	(working copy)
@@ -879,7 +879,7 @@
 <function>distPhase</function> first calls <command>make
 dist</command>, then it copies the resulting source tarballs to
 <filename>$out/tarballs/</filename>.  This phase is only executed if
-the attribute <varname>doDist</varname> is not set.</para>
+the attribute <varname>doDist</varname> is set.</para>
 
 <variablelist>
   <title>Variables controlling the distribution phase</title>
@@ -1069,7 +1069,7 @@
     <listitem><para>Strips the directory and hash part of a store
     path, and prints (on standard output) only the name part.  For
     instance, <literal>stripHash
-    /nix/store/68afga4khv0w...-coreutils-6.12</literal> print
+    /nix/store/68afga4khv0w...-coreutils-6.12</literal> prints
     <literal>coreutils-6.12</literal>.</para></listitem>
   </varlistentry>
 
Index: doc/meta.xml
===================================================================
--- doc/meta.xml	(revision 19853)
+++ doc/meta.xml	(working copy)
@@ -25,7 +25,7 @@
 
 <para>Meta-attributes are not passed to the builder of the package.
 Thus, a change to a meta-attribute doesn’t trigger a recompilation of
-the package.  The value of a meta-attribute must a string.</para>
+the package.  The value of a meta-attribute must be a string.</para>
 
 <para>The meta-attributes of a package can be queried from the
 command-line using <command>nix-env</command>:
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to