Skip to content

Commit

Permalink
wrap added notes in <note>
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Kinsky authored and grahamc committed Feb 21, 2017
1 parent 2d78767 commit b14dd0e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions doc/functions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<varname>stdenv.mkDerivation</varname>, are defined using this
function, which means most packages in the nixpkgs expression,
<varname>pkgs</varname>, have this function.
</para>
</para>

<para>
Example usage:
Expand Down Expand Up @@ -228,7 +228,7 @@
] name)</code> from the <literal>INI</literal> generator. It gets the name
of a section and returns a sanitized name. The default
<literal>mkSectionName</literal> escapes <literal>[</literal> and
<literal>]</literal> with a backslash.
<literal>]</literal> with a backslash.
</para>

<note><para>Nix store paths can be converted to strings by enclosing a
Expand Down Expand Up @@ -523,17 +523,22 @@
It is possible to inspect the arguments with which an image was built
using its <varname>buildArgs</varname> attribute.
</para>





<note>
<para>
If you see errors similar to <literal>getProtocolByName: does not exist (no such protocol name: tcp)</literal>
you may need to add <literal>pkgs.iana_etc</literal> to <varname>contents</varname>.
</para>

</note>

<note>
<para>
If you see errors similar to <literal>Error_Protocol ("certificate has unknown CA",True,UnknownCa)</literal>
you may need to add <literal>pkgs.cacert</literal> to <varname>contents</varname>.
</para>
</note>

</section>

Expand Down

0 comments on commit b14dd0e

Please sign in to comment.