about summary refs log tree commit diff
path: root/pkgs/applications/kde/incidenceeditor.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/incidenceeditor.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/incidenceeditor.nix')
-rw-r--r--pkgs/applications/kde/incidenceeditor.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/kde/incidenceeditor.nix b/pkgs/applications/kde/incidenceeditor.nix
index 9c248f199a5d2..2e10c129eefd6 100644
--- a/pkgs/applications/kde/incidenceeditor.nix
+++ b/pkgs/applications/kde/incidenceeditor.nix
@@ -17,4 +17,8 @@ mkDerivation {
     kldap kmime pimcommon qtbase
   ];
   outputs = [ "out" "dev" ];
+  postInstall = ''
+    # added as an include directory by cmake files and fails to compile if it's missing
+    mkdir -p "$dev/include/KF5"
+  '';
 }