diff options
27 files changed, 106 insertions, 4 deletions
diff --git a/pkgs/applications/kde/akonadi-calendar.nix b/pkgs/applications/kde/akonadi-calendar.nix index 474672dfd7d9e..95ee121b59f14 100644 --- a/pkgs/applications/kde/akonadi-calendar.nix +++ b/pkgs/applications/kde/akonadi-calendar.nix @@ -17,4 +17,8 @@ mkDerivation { kio kmailtransport ]; 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" + ''; } diff --git a/pkgs/applications/kde/akonadi-contacts.nix b/pkgs/applications/kde/akonadi-contacts.nix index d89670d7719c7..2486019ac69ad 100644 --- a/pkgs/applications/kde/akonadi-contacts.nix +++ b/pkgs/applications/kde/akonadi-contacts.nix @@ -22,4 +22,8 @@ mkDerivation { ]; propagatedBuildInputs = [ akonadi grantleetheme ]; 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" + ''; } diff --git a/pkgs/applications/kde/akonadi-mime.nix b/pkgs/applications/kde/akonadi-mime.nix index fbd028b1ec289..b498fde26dfa4 100644 --- a/pkgs/applications/kde/akonadi-mime.nix +++ b/pkgs/applications/kde/akonadi-mime.nix @@ -13,4 +13,8 @@ mkDerivation { nativeBuildInputs = [ extra-cmake-modules shared-mime-info ]; buildInputs = [ akonadi kdbusaddons ki18n kio kitemmodels kmime ]; 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" + ''; } diff --git a/pkgs/applications/kde/akonadi-notes.nix b/pkgs/applications/kde/akonadi-notes.nix index 1ab0ca74819f3..411f71440a0dc 100644 --- a/pkgs/applications/kde/akonadi-notes.nix +++ b/pkgs/applications/kde/akonadi-notes.nix @@ -15,4 +15,8 @@ mkDerivation { akonadi kcompletion ki18n kitemmodels kmime kxmlgui ]; 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" + ''; } diff --git a/pkgs/applications/kde/akonadi-search.nix b/pkgs/applications/kde/akonadi-search.nix index 84657177f891f..2908748e474dd 100644 --- a/pkgs/applications/kde/akonadi-search.nix +++ b/pkgs/applications/kde/akonadi-search.nix @@ -17,4 +17,8 @@ mkDerivation { akonadi akonadi-mime kcalendarcore kcontacts kcoreaddons kmime 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" + ''; } diff --git a/pkgs/applications/kde/akonadi/default.nix b/pkgs/applications/kde/akonadi/default.nix index e816d3eeb41e5..ade8ebbcf4213 100644 --- a/pkgs/applications/kde/akonadi/default.nix +++ b/pkgs/applications/kde/akonadi/default.nix @@ -44,10 +44,8 @@ mkDerivation { cmakeFlags = lib.optional (defaultDriver != "MYSQL") "-DDATABASE_BACKEND=${defaultDriver}"; - # compatibility symlinks for kmymoney, can probably be removed in next kde bump postInstall = '' - ln -s $dev/include/KF5/AkonadiCore/Akonadi/Collection $dev/include/KF5/AkonadiCore/Collection - ln -s $dev/include/KF5/AkonadiCore/Akonadi/ItemFetchScope $dev/include/KF5/AkonadiCore/ItemFetchScope - ln -s $dev/include/KF5/AkonadiCore/Akonadi/RecursiveItemFetchJob $dev/include/KF5/AkonadiCore/RecursiveItemFetchJob + # added as an include directory by cmake files and fails to compile if it's missing + mkdir -p "$dev/include/KF5" ''; } diff --git a/pkgs/applications/kde/calendarsupport.nix b/pkgs/applications/kde/calendarsupport.nix index c6a4e36c82d4d..4cc1bb1f1c6ca 100644 --- a/pkgs/applications/kde/calendarsupport.nix +++ b/pkgs/applications/kde/calendarsupport.nix @@ -17,4 +17,8 @@ mkDerivation { ]; propagatedBuildInputs = [ akonadi-calendar kidentitymanagement kmime ]; 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" + ''; } diff --git a/pkgs/applications/kde/eventviews.nix b/pkgs/applications/kde/eventviews.nix index 001c1e6cbcb92..382f0ee48b1db 100644 --- a/pkgs/applications/kde/eventviews.nix +++ b/pkgs/applications/kde/eventviews.nix @@ -17,4 +17,8 @@ mkDerivation { libkdepim qtbase qttools kholidays ]; 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" + ''; } diff --git a/pkgs/applications/kde/grantleetheme/default.nix b/pkgs/applications/kde/grantleetheme/default.nix index 92499645e7f41..2cc532d25104e 100644 --- a/pkgs/applications/kde/grantleetheme/default.nix +++ b/pkgs/applications/kde/grantleetheme/default.nix @@ -16,4 +16,8 @@ mkDerivation { grantlee ki18n kiconthemes knewstuff kservice kxmlgui qtbase ]; propagatedBuildInputs = [ grantlee kiconthemes knewstuff ]; + postInstall = '' + # added as an include directory by cmake files and fails to compile if it's missing + mkdir -p "$dev/include/KF5" + ''; } 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" + ''; } diff --git a/pkgs/applications/kde/kcalutils.nix b/pkgs/applications/kde/kcalutils.nix index 7da9739aad1d6..591e28cd737f1 100644 --- a/pkgs/applications/kde/kcalutils.nix +++ b/pkgs/applications/kde/kcalutils.nix @@ -17,4 +17,8 @@ mkDerivation { kidentitymanagement kpimtextedit ]; 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" + ''; } diff --git a/pkgs/applications/kde/kidentitymanagement.nix b/pkgs/applications/kde/kidentitymanagement.nix index c2f2abcd32d01..6316a86024b2e 100644 --- a/pkgs/applications/kde/kidentitymanagement.nix +++ b/pkgs/applications/kde/kidentitymanagement.nix @@ -17,4 +17,8 @@ mkDerivation { ]; propagatedBuildInputs = [ kcoreaddons kpimtextedit ]; 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" + ''; } diff --git a/pkgs/applications/kde/kimap.nix b/pkgs/applications/kde/kimap.nix index 8abaa1714294c..b910328c2cada 100644 --- a/pkgs/applications/kde/kimap.nix +++ b/pkgs/applications/kde/kimap.nix @@ -14,4 +14,8 @@ mkDerivation { buildInputs = [ ki18n kio ]; propagatedBuildInputs = [ cyrus_sasl kcoreaddons kmime kitemmodels ]; 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" + ''; } diff --git a/pkgs/applications/kde/kldap.nix b/pkgs/applications/kde/kldap.nix index 6016cfd090c83..b7c7777a9a5ef 100644 --- a/pkgs/applications/kde/kldap.nix +++ b/pkgs/applications/kde/kldap.nix @@ -14,4 +14,8 @@ mkDerivation { buildInputs = [ ki18n kio kmbox libsecret qtkeychain ]; propagatedBuildInputs = [ cyrus_sasl openldap ]; 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" + ''; } diff --git a/pkgs/applications/kde/kmailtransport.nix b/pkgs/applications/kde/kmailtransport.nix index 577beb8d5ec8e..ab6700144a815 100644 --- a/pkgs/applications/kde/kmailtransport.nix +++ b/pkgs/applications/kde/kmailtransport.nix @@ -19,4 +19,8 @@ mkDerivation { ]; propagatedBuildInputs = [ akonadi-mime cyrus_sasl kmime kwallet ]; 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" + ''; } diff --git a/pkgs/applications/kde/kmbox.nix b/pkgs/applications/kde/kmbox.nix index d2b4dbde8ac40..9a835116c42f9 100644 --- a/pkgs/applications/kde/kmbox.nix +++ b/pkgs/applications/kde/kmbox.nix @@ -13,4 +13,8 @@ mkDerivation { nativeBuildInputs = [ extra-cmake-modules kdoctools ]; buildInputs = [ kmime qtbase kcodecs ]; 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" + ''; } 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" + ''; } diff --git a/pkgs/applications/kde/kontactinterface.nix b/pkgs/applications/kde/kontactinterface.nix index 292a21e32c2c8..43e09777bddd1 100644 --- a/pkgs/applications/kde/kontactinterface.nix +++ b/pkgs/applications/kde/kontactinterface.nix @@ -16,4 +16,8 @@ mkDerivation { kiconthemes kwindowsystem kxmlgui qtx11extras ]; propagatedBuildInputs = [ kparts ]; + postInstall = '' + # added as an include directory by cmake files and fails to compile if it's missing + mkdir -p "$out/include/KF5" + ''; } diff --git a/pkgs/applications/kde/kpimtextedit.nix b/pkgs/applications/kde/kpimtextedit.nix index 040fbd122ef88..de5afb72d1fab 100644 --- a/pkgs/applications/kde/kpimtextedit.nix +++ b/pkgs/applications/kde/kpimtextedit.nix @@ -19,4 +19,8 @@ mkDerivation { ]; propagatedBuildInputs = [ ktextwidgets ]; 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" + ''; } 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" + ''; } diff --git a/pkgs/applications/kde/ktnef.nix b/pkgs/applications/kde/ktnef.nix index fec85644aa715..4b0e751734e15 100644 --- a/pkgs/applications/kde/ktnef.nix +++ b/pkgs/applications/kde/ktnef.nix @@ -15,4 +15,8 @@ mkDerivation { kcalendarcore kcalutils kcontacts ]; 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" + ''; } diff --git a/pkgs/applications/kde/libgravatar.nix b/pkgs/applications/kde/libgravatar.nix index 2055d7bd36b39..0335ded006521 100644 --- a/pkgs/applications/kde/libgravatar.nix +++ b/pkgs/applications/kde/libgravatar.nix @@ -15,4 +15,8 @@ mkDerivation { kconfig kio ktextwidgets kwidgetsaddons pimcommon ]; 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" + ''; } 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" + ''; } diff --git a/pkgs/applications/kde/libkleo.nix b/pkgs/applications/kde/libkleo.nix index 0cd858ea6e0a0..32369495aefa3 100644 --- a/pkgs/applications/kde/libkleo.nix +++ b/pkgs/applications/kde/libkleo.nix @@ -18,4 +18,8 @@ mkDerivation { ]; propagatedBuildInputs = [ qgpgme ]; 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" + ''; } diff --git a/pkgs/applications/kde/mailcommon.nix b/pkgs/applications/kde/mailcommon.nix index af29ff41681e2..d9885058ef895 100644 --- a/pkgs/applications/kde/mailcommon.nix +++ b/pkgs/applications/kde/mailcommon.nix @@ -19,4 +19,8 @@ mkDerivation { kwindowsystem mailimporter messagelib phonon libkdepim ]; 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" + ''; } diff --git a/pkgs/applications/kde/mailimporter.nix b/pkgs/applications/kde/mailimporter.nix index 745316fbaf9ae..08503ba9e8312 100644 --- a/pkgs/applications/kde/mailimporter.nix +++ b/pkgs/applications/kde/mailimporter.nix @@ -16,4 +16,8 @@ mkDerivation { akonadi akonadi-mime karchive kcompletion kconfig kcoreaddons ki18n kmime kxmlgui libkdepim pimcommon ]; + postInstall = '' + # added as an include directory by cmake files and fails to compile if it's missing + mkdir -p "$out/include/KF5" + ''; } diff --git a/pkgs/applications/kde/messagelib.nix b/pkgs/applications/kde/messagelib.nix index d52989d3ffc0a..abd9382a1f0ff 100644 --- a/pkgs/applications/kde/messagelib.nix +++ b/pkgs/applications/kde/messagelib.nix @@ -26,4 +26,8 @@ mkDerivation { qtwebengine ]; 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" + ''; } |