diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix index 26323e14b9017..b6ace630deccb 100644 --- a/nixos/modules/misc/documentation.nix +++ b/nixos/modules/misc/documentation.nix @@ -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"; })