Skip to content

Commit

Permalink
Use docbook-xsl-ns with man opt dedup patch
Browse files Browse the repository at this point in the history
Should fix duplicate option names into the manpages generated with nmd.
See:
- NixOS/nixpkgs#166304
- NixOS/nixpkgs#166509
- nix-community/home-manager#2820
  • Loading branch information
thiagokokada committed Jun 9, 2022
1 parent 9e7a20e commit 91dee68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/manual-docbook.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ with lib;

let

inherit (pkgs) docbook5 docbook-xsl-ns;
inherit (pkgs) docbook5;
# See https://github.com/NixOS/nixpkgs/pull/166509
docbook-xsl-ns = pkgs.docbook-xsl-ns.override { withManOptDedupPatch = true; };

docBookFromAsciiDocDirectory = pkgs.runCommand "converted-asciidoc" {
nativeBuildInputs = [ (getBin pkgs.asciidoc) (getBin pkgs.libxslt) ];
Expand Down

0 comments on commit 91dee68

Please sign in to comment.