https://bugs.kde.org/show_bug.cgi?id=495021

            Bug ID: 495021
           Summary: Plasmashell fails when plasmoid files are symlinked
                    and fails
    Classification: Plasma
           Product: plasmashell
           Version: 6.2.1
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Brightness and Color
          Assignee: plasma-b...@kde.org
          Reporter: bmanb...@gmail.com
                CC: natalie_clar...@yahoo.de
  Target Milestone: 1.0

Created attachment 175009
  --> https://bugs.kde.org/attachment.cgi?id=175009&action=edit
The specific errors output by running "plasmawindowed
org.kde.plasma.brightness"

SUMMARY

On NixOS, if you choose to use an overlay to rebuild something like say,
powerdevil, to re-enable ddcutil support, the plasmoids it provides break
because the overlay symlinks the individual files, which plasmashell errors out
on, same goes with the plasmawindowed debugger.

STEPS TO REPRODUCE
1. Build any plasma component that provides plasmoids with a NixOS overlay.
2. Restart any relevant services, such as plasmashell.
3. Attempt to open a plasmoid provided by the component.

OBSERVED RESULT

The plasmoid is replaced with an error message that it "does not exist".

EXPECTED RESULT

The plasmoid loads as expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS unstable 24.11
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
The override in question, which is added to the configuration.nix's import
list:

let
  powerdevil-overlay = final: prev: {
    kdePackages = prev.kdePackages // {
      powerdevil = prev.kdePackages.powerdevil.overrideAttrs
        (old: { buildInputs = old.buildInputs ++ [ final.ddcutil ]; });
    };
  };
  in {
    hardware.i2c.enable = true;
    nixpkgs.overlays = [ powerdevil-overlay ];
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to