nwg-panel: patch it to cross compile (by purging bluetooth/randr)
This commit is contained in:
parent
88a487f565
commit
46f5a7e37d
|
@ -51,10 +51,17 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
packageUnwrapped = pkgs.nwg-panel.overrideAttrs (base: {
|
||||
packageUnwrapped = (pkgs.nwg-panel.override {
|
||||
# XXX(2024/06/13): hyprland does not cross compile
|
||||
hyprland = null;
|
||||
# XXX(2024/06/13): wlr-randr does not cross compile
|
||||
wlr-randr = null;
|
||||
}).overrideAttrs (base: {
|
||||
patches = (base.patches or []) ++ lib.optionals (!cfg.config.mediaPrevNext) [
|
||||
./playerctl-no-prev-next.diff
|
||||
];
|
||||
# XXX(2024/06/13) the bluetooth stuff doesn't cross compile, so disable it
|
||||
propagatedBuildInputs = lib.filter (p: p.pname != "pybluez") base.propagatedBuildInputs;
|
||||
});
|
||||
|
||||
# fs.".config/nwg-panel/config".symlink.target = ./config;
|
||||
|
|
Loading…
Reference in New Issue
Block a user