about summary refs log tree commit diff
path: root/pkgs/applications/kde/ksmtp
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/ksmtp
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/ksmtp')
-rw-r--r--pkgs/applications/kde/ksmtp/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/kde/ksmtp/default.nix b/pkgs/applications/kde/ksmtp/default.nix
index b088bbc4577d9..591426e141e08 100644
--- a/pkgs/applications/kde/ksmtp/default.nix
+++ b/pkgs/applications/kde/ksmtp/default.nix
@@ -13,4 +13,8 @@ mkDerivation {
   nativeBuildInputs = [ extra-cmake-modules kdoctools ];
   buildInputs = [ kcoreaddons kio kmime ];
   propagatedBuildInputs = [ cyrus_sasl ];
+  postInstall = ''
+    # added as an include directory by cmake files and fails to compile if it's missing
+    mkdir -p "$out/include/KF5"
+  '';
 }