mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
manual: fix man pages build on unstable NixOS
This commit is contained in:
parent
2e257f40e6
commit
dba14bfe90
1 changed files with 13 additions and 3 deletions
|
@ -60,9 +60,19 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf config.manual.manpages.enable {
|
config = mkIf config.manual.manpages.enable {
|
||||||
# To fix error during manpage build.
|
|
||||||
meta.doc = builtins.toFile "nothingness" "<para></para>";
|
|
||||||
|
|
||||||
home.packages = [ homeEnvironmentManPages ];
|
home.packages = [ homeEnvironmentManPages ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# To fix error during manpage build.
|
||||||
|
meta.doc = builtins.toFile "nothingness" ''
|
||||||
|
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
version="5.0"
|
||||||
|
xml:id="sec-nothing">
|
||||||
|
<title>this is just to make the docs compile</title>
|
||||||
|
<para xml:id="sec-grsecurity"></para>
|
||||||
|
<para xml:id="sec-emacs-docbook-xml"></para>
|
||||||
|
</chapter>
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue