about summary refs log tree commit diff
path: root/pkgs/applications/kde/libkdepim.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-03-18 01:39:35 +0300
committerK900 <me@0upti.me>2023-04-20 11:53:41 +0300
commit7b52754edb79054aee841ed3cbb3835612946ee0 (patch)
treeb7c99640889476e17fc4c2e441a70c1f29118794 /pkgs/applications/kde/libkdepim.nix
parenteab21608dee657d15e64dbb3a965f382cccec467 (diff)
kde/pim: create missing include directories to avoid cmake errors
This is a hack and should be removed once upstream fixes this.
Diffstat (limited to 'pkgs/applications/kde/libkdepim.nix')
-rw-r--r--pkgs/applications/kde/libkdepim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/kde/libkdepim.nix b/pkgs/applications/kde/libkdepim.nix
index 5fafd2e1effc2..7e66a17e5dc43 100644
--- a/pkgs/applications/kde/libkdepim.nix
+++ b/pkgs/applications/kde/libkdepim.nix
@@ -18,4 +18,8 @@ mkDerivation {
     kconfigwidgets kcontacts ki18n kiconthemes kio kitemviews kjobwidgets kldap
     kwallet
   ];
+  postInstall = ''
+    # added as an include directory by cmake files and fails to compile if it's missing
+    mkdir -p "$out/include/KF5"
+  '';
 }