nixpkgs-gnome-mobile/overlay.nix

47 lines
1.4 KiB
Nix
Raw Normal View History

2024-07-17 21:45:20 +02:00
self: super:
let
gvc = super.fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "libgnome-volume-control";
rev = "5f9768a2eac29c1ed56f1fbb449a77a3523683b6";
hash = "sha256-gdgTnxzH8BeYQAsvv++Yq/8wHi7ISk2LTBfU8hk12NM=";
};
in
{
2024-05-06 04:37:19 +02:00
gnome = super.gnome.overrideScope (gself: gsuper: {
2024-07-17 21:45:20 +02:00
gnome-shell = gsuper.gnome-shell.overrideAttrs (old: rec {
version = "46-mobile-0"; # 361fc605e595b36df68d8b691f22bccddcf84cc9
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";
2024-07-17 21:45:20 +02:00
rev = version;
hash = "sha256-iHDX//QsfDDSv9OnN1E4ZgxVOqzqzNHQC2/ZrAeYUL8=";
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
2024-07-17 21:45:20 +02:00
ln -sf ${gvc} subprojects/gvc
2023-04-26 00:11:34 +02:00
'';
});
2024-07-17 21:45:20 +02:00
mutter = gsuper.mutter.overrideAttrs (old: rec {
version = "46-mobile-0"; # 805bce1ffa98a4aad180988c7aa7c34115da1d5d
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";
2024-07-17 21:45:20 +02:00
rev = version;
hash = "sha256-l2iKUvzW0FPPccQkhd2bDdd+BD4ZHi21MOHLhZCJwbY=";
2023-04-26 00:11:34 +02:00
};
});
});
}