summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-16 15:16:08 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-16 15:16:08 -0400
commitddbe9191ef1549e7695e5e02e545b1b3db46edb4 (patch)
tree90e8f4e8bf5c4410b351229cdc637333bae88024 /lib
parent16b6f53910f19b84c5d8c5fb58a8ce958fc8a7d3 (diff)
parentf3fcf1b0a9b0398620b5fa9b40268ef651aa373e (diff)
downloadnixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.tar
nixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.tar.gz
nixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.tar.bz2
nixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.tar.lz
nixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.tar.xz
nixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.tar.zst
nixpkgs-ddbe9191ef1549e7695e5e02e545b1b3db46edb4.zip
Merge remote-tracking branch 'upstream/master' into staging
Keep the dontCheck because the test suite fails, get rid of the LDFLAGS
hack because we don't need it!
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 77271689772..5aa09d33e9b 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -372,7 +372,13 @@ 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 = "&lt;name&gt;";
+            #
+            # Using lookalike unicode single angle quotation marks because
+            # of the docbook transformation the options receive. In all uses
+            # &gt; and &lt; wouldn't be encoded correctly so the encoded values
+            # would be used, and use of `<` and `>` would break the XML document.
+            # It shouldn't cause an issue since this is cosmetic for the manual.
+            args.name = "‹name›";
           }).options;
         getSubModules = opts';
         substSubModules = m: submodule m;