From 67074445e831be68e4f50ff1eba2ffed3f27b1f2 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sat, 1 Oct 2022 00:18:36 -0400 Subject: [PATCH] plasma-dialer: Fixes for 22.09 https://invent.kde.org/plasma-mobile/plasma-dialer/-/commit/51e565a505ae0a8a6d9c5360c180c2ef3dd7903c --- .../plasma-mobile/plasma-dialer.nix | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/applications/plasma-mobile/plasma-dialer.nix b/pkgs/applications/plasma-mobile/plasma-dialer.nix index 1a30977aba9d..9804daa35678 100644 --- a/pkgs/applications/plasma-mobile/plasma-dialer.nix +++ b/pkgs/applications/plasma-mobile/plasma-dialer.nix @@ -9,15 +9,24 @@ , kcoreaddons , kdbusaddons , ki18n +, kio , kirigami2 , knotifications , kpeople , libphonenumber +, libselinux +, libsepol , modemmanager-qt +, pcre +, plasma-wayland-protocols , protobuf +, pulseaudio-qt , qtfeedback , qtmpris , qtquickcontrols2 +, util-linux +, wayland +, wayland-protocols }: mkDerivation rec { @@ -34,17 +43,31 @@ mkDerivation rec { kcoreaddons kdbusaddons ki18n + kio kirigami2 knotifications kpeople libphonenumber + libselinux + libsepol modemmanager-qt + pcre + plasma-wayland-protocols protobuf # Needed by libphonenumber + pulseaudio-qt qtfeedback qtmpris qtquickcontrols2 + util-linux + wayland + wayland-protocols ]; + postPatch = '' + substituteInPlace plasma-dialer/org.kde.phone.dialer.desktop \ + --replace "/usr/bin/" "$out/bin/" + ''; + meta = with lib; { description = "Dialer for Plasma Mobile"; homepage = "https://invent.kde.org/plasma-mobile/plasma-dialer";