summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-19 18:02:54 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-19 20:05:01 +0300
commitcd23250c16ea233c7dc29ec1f8a5cea7c1fe159e (patch)
treea4e39ba0f876735b4287f230ffd69a08e887fbf4 /gnu/packages
parentd4af1ff177e2b8a70535aa078c07556c25607a66 (diff)
downloadguix-cd23250c16ea233c7dc29ec1f8a5cea7c1fe159e.tar.gz
gnu: kmessagelib: Fix building.
* gnu/packages/kde-pim.scm (kmessagelib)[arguments]: Adjust custom
'extend-CPUS_INCLUDE_PATH phase to specifically add libkdepim.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde-pim.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 7cb1764ff2..a5acbb0da8 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1336,8 +1336,9 @@ using a Qt/KMime C++ API.")
                       ;; <Libkdepim/MultiplyingLine> without this hack.
                       (setenv "CPLUS_INCLUDE_PATH"
                               (string-append
-                               (search-input-directory inputs "include/KF5")
-                               ":" (or (getenv "CPLUS_INCLUDE_PATH") ""))))))))
+                                (assoc-ref inputs "libkdepim")
+                                "/include/KF5:"
+                                (or (getenv "CPLUS_INCLUDE_PATH") ""))))))))
     (home-page "https://invent.kde.org/pim/messagelib")
     (synopsis "KDE PIM messaging libraries")
     (description "This package provides several libraries for messages,