From 82e6fa041ebf3e8f7b544bb69c94beb42299c2f7 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 8 Nov 2023 09:31:08 +0100 Subject: [PATCH] ddccontrol: Add Dell S2721DFGA as alias for S2721DFG --- overlays/ddccontrol-db/0001-add-del41d9.patch | 10 ++++++++++ overlays/default.nix | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 overlays/ddccontrol-db/0001-add-del41d9.patch diff --git a/overlays/ddccontrol-db/0001-add-del41d9.patch b/overlays/ddccontrol-db/0001-add-del41d9.patch new file mode 100644 index 0000000..df347a0 --- /dev/null +++ b/overlays/ddccontrol-db/0001-add-del41d9.patch @@ -0,0 +1,10 @@ +diff --git a/db/monitor/DEL41D9.xml b/db/monitor/DEL41D9.xml +new file mode 100644 +index 0000000..51cf12c +--- /dev/null ++++ b/db/monitor/DEL41D9.xml +@@ -0,0 +1,4 @@ ++ ++ ++ ++ diff --git a/overlays/default.nix b/overlays/default.nix index 90d6a6c..99c2dfc 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -18,8 +18,7 @@ _final: prev: { bl3auto = prev.pkgs.callPackage ../pkgs/bl3auto { inherit (prev.pkgs) lib buildGoModule fetchFromGitHub; }; - waybar = prev.waybar.overrideAttrs (prevAttrs: { - buildInputs = prevAttrs.buildInputs ++ [ prev.wayland-protocols prev.libappindicator-gtk3 prev.libinput prev.jack2 ]; - mesonFlags = prevAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; + ddccontrol-db = prev.ddccontrol-db.overrideAttrs (_finalAttrs: prevAttrs: { + patches = (prevAttrs.patches or [ ]) ++ [ ./ddccontrol-db/0001-add-del41d9.patch ]; }); }