nixos/documentation: Link Devhelp files (#218123)

This commit is contained in:
Doron Behar 2024-12-01 11:25:40 +02:00 committed by GitHub
commit 32ad523bd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -367,7 +367,13 @@ in
})
(mkIf cfg.doc.enable {
environment.pathsToLink = [ "/share/doc" ];
environment.pathsToLink = [
"/share/doc"
# Legacy paths used by gtk-doc & adjacent tools.
"/share/gtk-doc"
"/share/devhelp"
];
environment.extraOutputsToInstall = [ "doc" ] ++ optional cfg.dev.enable "devdoc";
})