fix(overlay): remove gnome scope

This commit is contained in:
藍+85CD 2024-09-21 14:14:33 +08:00 committed by GitHub
parent 060b4db356
commit aaae71ce20
Failed to generate hash of commit

View file

@ -11,36 +11,34 @@ let
in in
{ {
gnome = super.gnome.overrideScope (gself: gsuper: { gnome-shell = super.gnome-shell.overrideAttrs (old: rec {
gnome-shell = gsuper.gnome-shell.overrideAttrs (old: rec { version = "46-mobile-0"; # 361fc605e595b36df68d8b691f22bccddcf84cc9
version = "46-mobile-0"; # 361fc605e595b36df68d8b691f22bccddcf84cc9 src = super.fetchFromGitLab {
src = super.fetchFromGitLab { domain = "gitlab.gnome.org";
domain = "gitlab.gnome.org"; owner = "verdre";
owner = "verdre"; repo = "mobile-shell";
repo = "mobile-shell"; rev = version;
rev = version; hash = "sha256-iHDX//QsfDDSv9OnN1E4ZgxVOqzqzNHQC2/ZrAeYUL8=";
hash = "sha256-iHDX//QsfDDSv9OnN1E4ZgxVOqzqzNHQC2/ZrAeYUL8="; fetchSubmodules = true;
fetchSubmodules = true; };
}; # JS ERROR: Error: Requiring ModemManager, version none: Typelib file for namespace 'ModemManager' (any version) not found
# 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
# @resource:///org/gnome/shell/misc/modemManager.js:4:49 buildInputs = old.buildInputs ++ [ super.modemmanager ];
buildInputs = old.buildInputs ++ [ super.modemmanager ]; postPatch = ''
postPatch = '' patchShebangs src/data-to-c.pl
patchShebangs src/data-to-c.pl ln -sf ${gvc} subprojects/gvc
ln -sf ${gvc} subprojects/gvc '';
''; });
});
mutter = gsuper.mutter.overrideAttrs (old: rec { mutter = super.mutter.overrideAttrs (old: rec {
version = "46-mobile-0"; # 805bce1ffa98a4aad180988c7aa7c34115da1d5d version = "46-mobile-0"; # 805bce1ffa98a4aad180988c7aa7c34115da1d5d
src = super.fetchFromGitLab { src = super.fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "verdre"; owner = "verdre";
repo = "mobile-mutter"; repo = "mobile-mutter";
rev = version; rev = version;
hash = "sha256-l2iKUvzW0FPPccQkhd2bDdd+BD4ZHi21MOHLhZCJwbY="; hash = "sha256-l2iKUvzW0FPPccQkhd2bDdd+BD4ZHi21MOHLhZCJwbY=";
}; };
});
}); });
} }