nwg-panel: patch it to cross compile (by purging bluetooth/randr)
This commit is contained in:
@@ -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) [
|
patches = (base.patches or []) ++ lib.optionals (!cfg.config.mediaPrevNext) [
|
||||||
./playerctl-no-prev-next.diff
|
./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;
|
# fs.".config/nwg-panel/config".symlink.target = ./config;
|
||||||
|
Reference in New Issue
Block a user