about summary refs log tree commit diff
path: root/pkgs/applications/networking/nextcloud-client/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-04-16 04:43:58 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-04-16 04:43:58 +0200
commit3bc98d3bc10f7bd4fd2df3b31b2eefb7fe26410c (patch)
tree2a22ac974ffce9e5261ce72980fa0e31d113ce47 /pkgs/applications/networking/nextcloud-client/default.nix
parente532f3ecf44d0bbb7b6ae45a0e3e87ec4dc40b8c (diff)
nextcloud-client: place vfs plugins in correct directory
Diffstat (limited to 'pkgs/applications/networking/nextcloud-client/default.nix')
-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 5454765ad25c5..018080e9efc05 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