summary refs log tree commit diff
path: root/doc/stdenv.xml
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2017-06-11 22:12:59 +0200
committerJan Tojnar <jtojnar@gmail.com>2017-06-11 22:13:42 +0200
commite35f3c0679cafb8de84274433159e1b393dca46d (patch)
tree4c32df2d8b985aa0c8a2add597fa990688435295 /doc/stdenv.xml
parent4010313ab901c9022f564dfdc0e9ef27b595aa53 (diff)
downloadnixlib-e35f3c0679cafb8de84274433159e1b393dca46d.tar
nixlib-e35f3c0679cafb8de84274433159e1b393dca46d.tar.gz
nixlib-e35f3c0679cafb8de84274433159e1b393dca46d.tar.bz2
nixlib-e35f3c0679cafb8de84274433159e1b393dca46d.tar.lz
nixlib-e35f3c0679cafb8de84274433159e1b393dca46d.tar.xz
nixlib-e35f3c0679cafb8de84274433159e1b393dca46d.tar.zst
nixlib-e35f3c0679cafb8de84274433159e1b393dca46d.zip
doc: Fix some typos
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r--doc/stdenv.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index a2530e102ca8..19bacd08f1ec 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -1156,7 +1156,7 @@ makeWrapper $out/bin/foo $wrapperfile --prefix PATH : ${lib.makeBinPath [ hello
             <term><option>--replace</option>
             <replaceable>s1</replaceable>
             <replaceable>s2</replaceable></term>
-            <listitem><para>Replace every occurence of the string
+            <listitem><para>Replace every occurrence of the string
             <replaceable>s1</replaceable> by
             <replaceable>s2</replaceable>.</para></listitem>
           </varlistentry>
@@ -1164,7 +1164,7 @@ makeWrapper $out/bin/foo $wrapperfile --prefix PATH : ${lib.makeBinPath [ hello
           <varlistentry>
             <term><option>--subst-var</option>
             <replaceable>varName</replaceable></term>
-            <listitem><para>Replace every occurence of
+            <listitem><para>Replace every occurrence of
             <literal>@<replaceable>varName</replaceable>@</literal> by
             the contents of the environment variable
             <replaceable>varName</replaceable>.  This is useful for
@@ -1177,7 +1177,7 @@ makeWrapper $out/bin/foo $wrapperfile --prefix PATH : ${lib.makeBinPath [ hello
             <term><option>--subst-var-by</option>
             <replaceable>varName</replaceable>
             <replaceable>s</replaceable></term>
-            <listitem><para>Replace every occurence of
+            <listitem><para>Replace every occurrence of
             <literal>@<replaceable>varName</replaceable>@</literal> by
             the string <replaceable>s</replaceable>.</para></listitem>
           </varlistentry>
@@ -1225,7 +1225,7 @@ substitute ./foo.in ./foo.out \
     <term><function>substituteAll</function>
     <replaceable>infile</replaceable>
     <replaceable>outfile</replaceable></term>
-    <listitem><para>Replaces every occurence of
+    <listitem><para>Replaces every occurrence of
     <literal>@<replaceable>varName</replaceable>@</literal>, where
     <replaceable>varName</replaceable> is any environment variable, in
     <replaceable>infile</replaceable>, writing the result to
@@ -1528,7 +1528,7 @@ bin/blib.a(bios_console.o): In function `bios_handle_cup':
     depends on such a format string, it will need to be worked around.
     </para>
 
-    <para>Addtionally, some warnings are enabled which might trigger build
+    <para>Additionally, some warnings are enabled which might trigger build
     failures if compiler warnings are treated as errors in the package build.
     In this case, set <option>NIX_CFLAGS_COMPILE</option> to
     <option>-Wno-error=warning-type</option>.</para>
@@ -1558,7 +1558,7 @@ fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute erro
     <term><varname>pic</varname></term>
     <listitem>
     <para>Adds the <option>-fPIC</option> compiler options. This options adds
-    support for position independant code in shared libraries and thus making
+    support for position independent code in shared libraries and thus making
     ASLR possible.</para>
     <para>Most notably, the Linux kernel, kernel modules and other code
     not running in an operating system environment like boot loaders won't