gnome.mutter: build docs

+10 -1
+10 -1
pkgs/desktops/gnome/core/mutter/default.nix
··· 35 , xorgserver 36 , python3 37 , wrapGAppsHook 38 , sysprof 39 , libsysprof-capture 40 , desktop-file-utils ··· 48 pname = "mutter"; 49 version = "43.beta"; 50 51 - outputs = [ "out" "dev" "man" ]; 52 53 src = fetchurl { 54 url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz"; ··· 73 # This should be auto detected, but it looks like it manages a false 74 # positive. 75 "-Dxwayland_initfd=disabled" 76 ]; 77 78 propagatedBuildInputs = [ ··· 93 pkg-config 94 python3 95 wrapGAppsHook 96 xorgserver # for cvt command 97 ]; 98 ··· 129 130 postInstall = '' 131 ${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas" 132 ''; 133 134 # Install udev files into our own tree.
··· 35 , xorgserver 36 , python3 37 , wrapGAppsHook 38 + , gi-docgen 39 , sysprof 40 , libsysprof-capture 41 , desktop-file-utils ··· 49 pname = "mutter"; 50 version = "43.beta"; 51 52 + outputs = [ "out" "dev" "man" "devdoc" ]; 53 54 src = fetchurl { 55 url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz"; ··· 74 # This should be auto detected, but it looks like it manages a false 75 # positive. 76 "-Dxwayland_initfd=disabled" 77 + "-Ddocs=true" 78 ]; 79 80 propagatedBuildInputs = [ ··· 95 pkg-config 96 python3 97 wrapGAppsHook 98 + gi-docgen 99 xorgserver # for cvt command 100 ]; 101 ··· 132 133 postInstall = '' 134 ${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas" 135 + ''; 136 + 137 + postFixup = '' 138 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 139 + # TODO: Move this into a directory devhelp can find. 140 + moveToOutput "share/mutter-11/doc" "$devdoc" 141 ''; 142 143 # Install udev files into our own tree.