summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/nextcloud-client
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/nextcloud-client')
-rw-r--r--pkgs/applications/networking/nextcloud-client/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
index 5454765ad25c..018080e9efc0 100644
--- a/pkgs/applications/networking/nextcloud-client/default.nix
+++ b/pkgs/applications/networking/nextcloud-client/default.nix
@@ -41,6 +41,13 @@ mkDerivation rec {
./0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
];
+ postPatch = ''
+ for file in src/libsync/vfs/*/CMakeLists.txt; do
+ substituteInPlace $file \
+ --replace "PLUGINDIR" "KDE_INSTALL_PLUGINDIR"
+ done
+ '';
+
nativeBuildInputs = [
pkg-config
cmake