diff --git a/doc/functions.xml b/doc/functions.xml index 602d419a180..efe2590ddfb 100644 --- a/doc/functions.xml +++ b/doc/functions.xml @@ -133,7 +133,7 @@ stdenv.mkDerivation, are defined using this function, which means most packages in the nixpkgs expression, pkgs, have this function. - + Example usage: @@ -228,7 +228,7 @@ ] name) from the INI generator. It gets the name of a section and returns a sanitized name. The default mkSectionName escapes [ and - ] with a backslash. + ] with a backslash. Nix store paths can be converted to strings by enclosing a @@ -523,17 +523,22 @@ It is possible to inspect the arguments with which an image was built using its buildArgs attribute. - - + + + + If you see errors similar to getProtocolByName: does not exist (no such protocol name: tcp) you may need to add pkgs.iana_etc to contents. - + + + If you see errors similar to Error_Protocol ("certificate has unknown CA",True,UnknownCa) you may need to add pkgs.cacert to contents. +