summaryrefslogtreecommitdiff
path: root/common/overlays/qt6ct.nix
diff options
context:
space:
mode:
authorbrustybee <beebeeb5k@gmail.com>2026-04-13 03:04:59 +0530
committerbrustybee <beebeeb5k@gmail.com>2026-04-13 03:04:59 +0530
commit1bb49481dbec223e68df4f60fa1d425525e16cff (patch)
tree66e87c01c39054b7abb51d04bfc50f63b201aaf4 /common/overlays/qt6ct.nix
parentf5b78ff561eff75c803ed1ef6e736a6c991cd135 (diff)
This is like that one dream you don't know how to describe
Diffstat (limited to 'common/overlays/qt6ct.nix')
-rw-r--r--common/overlays/qt6ct.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/overlays/qt6ct.nix b/common/overlays/qt6ct.nix
new file mode 100644
index 0000000..06bdcbf
--- /dev/null
+++ b/common/overlays/qt6ct.nix
@@ -0,0 +1,32 @@
+final: prev:
+let
+ patchQtct =
+ pkg:
+ pkg.overrideAttrs (old: {
+ patches = (old.patches or [ ]) ++ [
+ (final.fetchpatch {
+ url = "https://www.opencode.net/trialuser/qt6ct/-/merge_requests/9.patch";
+ hash = "sha256-dc6ocbBGSKZV+Tr++ep/oaIdtd27gWxt5+feHO1PUaM=";
+ })
+ ];
+
+ buildInputs = (old.buildInputs or [ ]) ++ [
+ final.kdePackages.kconfig
+ final.kdePackages.kcolorscheme
+ final.kdePackages.kiconthemes
+ final.kdePackages.qtdeclarative
+ ];
+ });
+
+in
+{
+ kdePackages = prev.kdePackages.overrideScope (
+ kfinal: kprev: {
+ qt6ct = patchQtct kprev.qt6ct;
+ }
+ );
+
+ qt6Packages = prev.qt6Packages // {
+ qt6ct = patchQtct prev.qt6Packages.qt6ct;
+ };
+}