Skip to content

Commit

Permalink
nixos/documentation: Link Devhelp files (NixOS#218123)
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar authored Dec 1, 2024
2 parents 2f5cb5c + 6f0523e commit 32ad523
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nixos/modules/misc/documentation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
})

Expand Down

0 comments on commit 32ad523

Please sign in to comment.