mirror of
https://github.com/chuangzhu/nixpkgs-gnome-mobile.git
synced 2025-02-06 02:05:12 +01:00
fix brightness quicksetting
This commit is contained in:
parent
5314726af5
commit
a3741a847f
1 changed files with 7 additions and 3 deletions
10
overlay.nix
10
overlay.nix
|
@ -21,13 +21,17 @@ in
|
|||
hash = "sha256-NL1/mddfaL1rMidsbtV4kG2SlAZZNuR8KmqTmEE4IAM=";
|
||||
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
|
||||
ln -sf ${gvc} subprojects/gvc
|
||||
'';
|
||||
buildInputs = old.buildInputs ++ [
|
||||
super.modemmanager # /org/gnome/shell/misc/modemManager.js
|
||||
super.libgudev # /org/gnome/gjs/modules/esm/gi.js
|
||||
];
|
||||
postFixup = old.postFixup + ''
|
||||
wrapGApp $out/share/gnome-shell/org.gnome.Shell.SensorDaemon
|
||||
'';
|
||||
});
|
||||
|
||||
mutter = (super.callPackage ./nixpkgs/mu/mutter/package.nix { }).overrideAttrs (old: rec {
|
||||
|
|
Loading…
Reference in a new issue