nixpkgs-gnome-mobile/overlay.nix

44 lines
1.6 KiB
Nix
Raw Normal View History

self: super: {
2023-04-26 00:11:34 +02:00
gnome = super.gnome.overrideScope' (gself: gsuper: {
gnome-shell = gsuper.gnome-shell.overrideAttrs (old: {
2023-11-28 04:34:50 +01:00
version = "unstable-2023-09-08";
2023-04-26 00:11:34 +02:00
src = super.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "verdre";
2023-11-28 04:34:50 +01:00
repo = "mobile-shell";
rev = "df3f6b4c512d2f181e86ff7f6b1646ce7b907344";
hash = "sha256-s47z1q+MZWogT99OkzgQxKrqFT4I0yXyfGSww1IaaFs=";
2023-04-26 00:11:34 +02:00
fetchSubmodules = true;
};
# JS ERROR: Error: Requiring ModemManager, version none: Typelib file for namespace 'ModemManager' (any version) not found
# @resource:///org/gnome/shell/misc/modemManager.js:4:49
buildInputs = old.buildInputs ++ [ super.modemmanager ];
postPatch = ''
patchShebangs src/data-to-c.pl
# We can generate it ourselves.
rm -f man/gnome-shell.1
# Build fails with -Dgtk_doc=true
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6486
# element include: XInclude error : could not load xxx, and no fallback was found
substituteInPlace docs/reference/shell/shell-docs.sgml \
--replace '<xi:include href="xml/shell-embedded-window.xml"/>' ' ' \
--replace '<xi:include href="xml/shell-gtk-embed.xml"/>' ' '
'';
});
mutter = gsuper.mutter.overrideAttrs (old: {
2023-11-28 04:34:50 +01:00
version = "unstable-2023-09-08";
2023-04-26 00:11:34 +02:00
src = super.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "verdre";
2023-11-28 04:34:50 +01:00
repo = "mobile-mutter";
rev = "0f08f5aba4c9b5ac34b2d5711182d50b719d838e";
hash = "sha256-du56QMOlM7grN60eafoGTw2JGND6PK1gLrfWufihPO4=";
2023-04-26 00:11:34 +02:00
};
});
});
}