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