about summary refs log tree commit diff
path: root/doc/functions/shell.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/shell.xml')
-rw-r--r--doc/functions/shell.xml21
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/functions/shell.xml b/doc/functions/shell.xml
index a8d2a30cb5084..e5031c9463c06 100644
--- a/doc/functions/shell.xml
+++ b/doc/functions/shell.xml
@@ -2,19 +2,18 @@
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:xi="http://www.w3.org/2001/XInclude"
          xml:id="sec-pkgs-mkShell">
-  <title>pkgs.mkShell</title>
+ <title>pkgs.mkShell</title>
 
-  <para>
-    <function>pkgs.mkShell</function> is a special kind of derivation
-    that is only useful when using it combined with
-    <command>nix-shell</command>. It will in fact fail to instantiate
-    when invoked with <command>nix-build</command>.
-  </para>
+ <para>
+  <function>pkgs.mkShell</function> is a special kind of derivation that is
+  only useful when using it combined with <command>nix-shell</command>. It will
+  in fact fail to instantiate when invoked with <command>nix-build</command>.
+ </para>
 
-  <section xml:id="sec-pkgs-mkShell-usage">
-    <title>Usage</title>
+ <section xml:id="sec-pkgs-mkShell-usage">
+  <title>Usage</title>
 
-    <programlisting><![CDATA[
+<programlisting><![CDATA[
 { pkgs ? import <nixpkgs> {} }:
 pkgs.mkShell {
   # this will make all the build inputs from hello and gnutar
@@ -23,5 +22,5 @@ pkgs.mkShell {
   buildInputs = [ pkgs.gnumake ];
 }
 ]]></programlisting>
-  </section>
+ </section>
 </section>