docs: add style sheets and scrubDerivations
This adds style sheets and `scrubDerivations` from nmd, thereby removing the need to download them separately.
This commit is contained in:
parent
d634c3abaf
commit
2db6a2a429
10 changed files with 464 additions and 48 deletions
|
|
@ -57,13 +57,6 @@ in {
|
|||
(mkIf cfg.manpages.enable [ docs.manPages ])
|
||||
(mkIf cfg.json.enable [ docs.options.json ])
|
||||
];
|
||||
|
||||
# Whether a dependency on nmd should be introduced.
|
||||
home.extraBuilderCommands =
|
||||
mkIf (cfg.html.enable || cfg.manpages.enable || cfg.json.enable) ''
|
||||
mkdir $out/lib
|
||||
ln -s ${docs.nmdSrc} $out/lib/nmd
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue