-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Night color is broken after updated to plasma 5.21 #117036
Comments
This is caused by the lack of final: prev: {
plasma5Packages = prev.plasma5Packages // {
plasma5 = prev.plasma5Packages.plasma5 // {
kwin = prev.plasma5Packages.plasma5.kwin.overrideAttrs (
old: {
buildInputs = (old.buildInputs or [ ]) ++ [ prev.lcms2 prev.plasma5Packages.krunner ];
}
);
};
};
} |
Can confirm; the overlay works for me 👍 |
PR? 🙏 |
In the process, but I don't know, how I could specify When I search for krunner via search.nixos.org, I see And as another question: Should I perform the PR directly on |
In most case you want to target master and maybe backport the change to the current release after (you can find some informations about that in https://github.com/NixOS/nixpkgs#contributing and https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md). After a quick search some other package use index 2008529a38b..ad5d4e3cfbf 100644
--- a/pkgs/desktops/plasma-5/kwin/default.nix
+++ b/pkgs/desktops/plasma-5/kwin/default.nix
@@ -12,7 +12,7 @@
kcoreaddons, kcrash, kdeclarative, kdecoration, kglobalaccel, ki18n,
kiconthemes, kidletime, kinit, kio, knewstuff, knotifications, kpackage,
kscreenlocker, kservice, kwayland, kwayland-server, kwidgetsaddons, kwindowsystem, kxmlgui,
- plasma-framework, libcap, libdrm, mesa, pipewire
+ plasma-framework, libcap, libdrm, mesa, pipewire, lcms2, krunner
}:
# TODO (ttuegel): investigate qmlplugindump failure
@@ -31,7 +31,7 @@ mkDerivation {
kcoreaddons kcrash kdeclarative kdecoration kglobalaccel ki18n kiconthemes
kidletime kinit kio knewstuff knotifications kpackage kscreenlocker kservice
kwayland kwayland-server kwidgetsaddons kwindowsystem kxmlgui plasma-framework
- libcap libdrm mesa pipewire
+ libcap libdrm mesa pipewire lcms2 krunner
];
outputs = [ "dev" "out" ];
patches = [ @andrevmatos What does the kwin plugin for krunner do? I can't find any information about it. Edit: Maybe the krunner part should be added in a separate PR if it's not required to fix this issue. |
I'm currently not able to test the changes on my nixpkgs-fork. Would a PR still be a valid option or should I first test extensively? |
Well making sure the PR actually fixes the issue is kind of needed. I'll make the PR if I can test it. Feel free to do it if you can test it first :) |
Thanks for all the information you've given! I think I'll contribute a bit later, when I have more time to get into all this stuff. |
Seems to be already fixed on |
Is there an easy way to check (or get a notification) for when |
I think it's part of #123279. |
|
This is fixed for me in the latest |
I can confirm it's fixed on current unstable. This issue can be closed. |
Describe the bug
Night color cannot be enabled and it shows an error message "Failed to connect to the Window Manager" on the settings panel.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Night color should work
Metadata
"x86_64-linux"
Linux 5.11.7, NixOS, 21.05.20210319.f5e8bdd (Okapi)
yes
yes
nix-env (Nix) 2.4pre20210317_8a5203d
""
/nix/store/mz372xs1z8r6b3337zs0qxkg0ffrbnn3-source
Maintainer information:
The text was updated successfully, but these errors were encountered: