Open Keksgesicht opened 11 months ago
Ok you could also do my current workaround with a declaritive NixOS config:
systemd.tmpfiles.rules = [
"L+ /usr/share/zoneinfo - - - - ${pkgs.tzdata}/share/zoneinfo"
];
But this does not really fix the actual problem.
Describe the bug
Process started by kwin_wayland (not plasmashell) have not set TZDIR. When using the kickoff menu or the command line Kalendar shows normal behavior.![image](https://github.com/NixOS/nixpkgs/assets/32649612/cd907eec-db89-4fe0-a855-90f2af4c60aa)
First started by overview effect or shortcut. Second started kickoff menu or konsole.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Kalendar shows my events and correct day
Screenshots
Additional context
The digital clock widget has another problem, but here some of my findings with similar problems https://github.com/NixOS/nixpkgs/issues/143272 https://bugs.kde.org/show_bug.cgi?id=400451
My current workaround is to run
ln -s /etc/zoneinfo usr/share/zoneinfo
manually during my install process. https://invent.kde.org/plasma/plasma-workspace/-/blob/4df78f841cc16a61d862b5b183e773e9f66436b8/ktimezoned/ktimezoned.cpp#L124 https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/plasma-5/plasma-desktop/tzdir.patchNotify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.