-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
overlay.nix
40 lines (40 loc) · 1.4 KB
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ flakeArgs }:
final: _prev:
let
inherit (flakeArgs) self;
localPackages = self.localPackagesForPkgs final;
in
{
lun = localPackages;
powercord-plugins = self.lib.filterPrefix "pcp-" flakeArgs;
powercord-themes = self.lib.filterPrefix "pct-" flakeArgs;
nix-gaming = flakeArgs.nix-gaming.packages.${final.system};
# gst-plugins-bad pulls in opencv which we don't want
# TODO: upstream option for this
# gst_all_1 = (prev.gst_all_1 // {
# gst-plugins-bad = (prev.gst_all_1.gst-plugins-bad.override {
# opencv4 = prev.emptyDirectory;
# }).overrideAttrs
# (prev: {
# mesonFlags = prev.mesonFlags ++ [ "-Dopencv=disabled" ];
# });
# });
# FIXME: kwin tearing patch results in no display
# plasma5Packages = prev.plasma5Packages.overrideScope' (_self2: super2: {
# plasma5 = super2.plasma5.overrideScope' (_self1: super1: {
# inherit (prev.plasma5Packages.plasma5) plasma-workspace;
# kwin = super1.kwin.overrideAttrs (old: {
# # src = pkgs.fetchFromGitLab {
# # domain = "invent.kde.org";
# # owner = "plasma";
# # repo = "kwin";
# # rev = "f7648611573a893dc0f4a8d3ad7ed80e1ff82749";
# # sha256 = "sha256-OkLi3nU1iBuELffC4I97TvsFkws3ihTHNeo2gVbQfN8=";
# # };
# patches = (old.patches or []) ++ [
# ./packages/kwin/tearing-patch-try-2.diff
# ];
# });
# });
# });
}