nixpkgs/pkgs/kde/plasma/kscreen/default.nix
K900 ce77225e21 pkgs/kde: init at 6.0.0 / 24.02.0, the Nix bits
This is the thing you want to look at.
2024-02-28 18:49:23 +03:00

16 lines
270 B
Nix

{
mkKdeDerivation,
qtsensors,
dbus,
}:
mkKdeDerivation {
pname = "kscreen";
extraBuildInputs = [qtsensors];
postFixup = ''
substituteInPlace $out/share/kglobalaccel/org.kde.kscreen.desktop \
--replace-fail dbus-send ${dbus}/bin/dbus-send
'';
}