Subject: [bug#38319] [PATCH 4/4] gnu: kdeconnect: Remove useless code.

From: Hartmut Goebel <[email-masked]>
Date: Fri, 22 Nov 2019 10:37:30 +0100

After fixing wrap-qt-program, setting QT_PLUGIN_PATH here is no longer
necessary.

* gnu/packages/kde.scm(kdeconnect)[arguments]<phases>{wrap-executable}:
  Remove setting QT_PLUGIN_PATH.
---
 gnu/packages/kde.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index dcce02e467..636b5d60ba 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -558,9 +558,6 @@ different notification systems.")
          (add-after 'install 'wrap-executable
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
-               (setenv "QT_PLUGIN_PATH"
-                       (string-append out "/lib/qt5/plugins"
-                                      ":" (getenv "QT_PLUGIN_PATH")))
                (wrap-qt-program out "../lib/libexec/kdeconnectd")
                (wrap-qt-program out "kdeconnect-cli")
                (wrap-qt-program out "kdeconnect-handler")
-- 
2.21.0