Commit Graph

3 Commits

Author SHA1 Message Date
pennae
6957b8ed8b docbook-xsl: restore nixos-specific patch
This reverts commit 3e7649f01b.

turns out that home-manager depends on it, and restoring this patch for
now seems preferrable to breaking home-manager until they move away from
docbook for their manpage generation.
2023-06-19 14:28:12 -04:00
pennae
3e7649f01b docbook-xsl: remove nixos-specific patch
we're no longer using docbook to render the manpages, so we don't need
this patch for our manuals to be usable. remove it to reduce the diff
between nixos and other distros for this package.
2023-06-16 19:26:23 +02:00
Jan Tojnar
84d6565d52 nixos/man: prevent duplication of options
libxslt 1.1.35 fixed conflict resolution for templates to match the specification.
This uncovered a bug in docbook-xsl (https://github.com/docbook/xslt10-stylesheets/issues/240),
which causes option names to be duplicated into the option descriptions.

Let’s resolve the conflict by patching the stylesheets.

Fixes: https://github.com/NixOS/nixpkgs/issues/166304
2022-04-03 21:22:47 +02:00