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
, xorgserver
36
, python3
37
, wrapGAppsHook
0
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"
0
76
];
77
78
propagatedBuildInputs = [
···
93
pkg-config
94
python3
95
wrapGAppsHook
0
96
xorgserver # for cvt command
97
];
98
···
129
130
postInstall = ''
131
${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas"
0
0
0
0
0
0
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.