From 3bc98d3bc10f7bd4fd2df3b31b2eefb7fe26410c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Apr 2022 04:43:58 +0200 Subject: [PATCH] nextcloud-client: place vfs plugins in correct directory --- pkgs/applications/networking/nextcloud-client/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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