about summary refs log tree commit diff
path: root/pkgs/applications/kde/kmime.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/kde/kmime.nix')
-rw-r--r--pkgs/applications/kde/kmime.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/kde/kmime.nix b/pkgs/applications/kde/kmime.nix
index 8dfd910eeded0..fe8442e9d19dd 100644
--- a/pkgs/applications/kde/kmime.nix
+++ b/pkgs/applications/kde/kmime.nix
@@ -13,4 +13,8 @@ mkDerivation {
   nativeBuildInputs = [ extra-cmake-modules ];
   buildInputs = [ kcodecs ki18n 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"
+  '';
 }