summary refs log tree commit diff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2017-10-30 17:51:30 +0000
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2017-10-30 17:52:00 +0000
commit1d56d0c8a79334cd7149fd580512046558eaac78 (patch)
tree73ee31746f419122ecf3e68cf5989097b1c29ec5 /lib/types.nix
parent25c8014a4bd3db23b603f557d0a12b5fc905919a (diff)
downloadnixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.tar
nixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.tar.gz
nixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.tar.bz2
nixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.tar.lz
nixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.tar.xz
nixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.tar.zst
nixpkgs-1d56d0c8a79334cd7149fd580512046558eaac78.zip
types.submodule: Fix the NixOS Manual, by escaping the <> symbols.
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index dd0f31e9d14..db3bd381523 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -297,7 +297,7 @@ rec {
             # This is mandatory as some option declaration might use the
             # "name" attribute given as argument of the submodule and use it
             # as the default of option declarations.
-            args.name = "<name>";
+            args.name = "&lt;name&gt;";
           }).options;
         getSubModules = opts';
         substSubModules = m: submodule m;