summary refs log tree commit diff
path: root/nixos/doc/manual/development
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 /nixos/doc/manual/development
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 'nixos/doc/manual/development')
-rw-r--r--nixos/doc/manual/development/option-declarations.xml2
-rw-r--r--nixos/doc/manual/development/option-types.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/doc/manual/development/option-declarations.xml b/nixos/doc/manual/development/option-declarations.xml
index e322b6458a1a..d20c2d1aa2e2 100644
--- a/nixos/doc/manual/development/option-declarations.xml
+++ b/nixos/doc/manual/development/option-declarations.xml
@@ -96,7 +96,7 @@ options = {
   </itemizedlist>
   </para>
 
-  <para>Both approachs have problems.</para>
+  <para>Both approaches have problems.</para>
 
   <para>Making backends independent can quickly become hard to manage. For
     display managers, there can be only one enabled at a time, but the type
diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml
index e928c5570874..441393c98276 100644
--- a/nixos/doc/manual/development/option-types.xml
+++ b/nixos/doc/manual/development/option-types.xml
@@ -396,7 +396,7 @@ code before creating a new type.</para>
     <listitem><para>For composed types that can take a submodule as type 
         parameter, this function can be used to substitute the parameter of a 
         submodule type. It takes a module as parameter and return the type with 
-        the submodule options substituted. It is usally defined as a type 
+        the submodule options substituted. It is usually defined as a type 
         function call with a recursive call to 
         <literal>substSubModules</literal>, e.g for a type 
         <literal>composedType</literal> that take an <literal>elemtype</literal>