summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-13 00:35:17 +0200
committerGitHub <noreply@github.com>2022-05-13 00:35:17 +0200
commit73feaeda91a9e961b9fb65d6945210e241aaf846 (patch)
tree292d5cd72d6119f372fad3d6fd50cbfce70c5b89
parentaf0b555e61c2f674ebabca8e13d9e41afac5541a (diff)
parente372ae003eb9a811b995b9ad329389c3743219cf (diff)
downloadnixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.tar
nixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.tar.gz
nixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.tar.bz2
nixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.tar.lz
nixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.tar.xz
nixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.tar.zst
nixpkgs-73feaeda91a9e961b9fb65d6945210e241aaf846.zip
Merge pull request #172732 from SuperSandro2000/nextcloud-client
nextcloud-client: fix stray cacheDir
-rw-r--r--pkgs/applications/networking/nextcloud-client/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
index 32dadb8e5f9..52e2e083ca1 100644
--- a/pkgs/applications/networking/nextcloud-client/default.nix
+++ b/pkgs/applications/networking/nextcloud-client/default.nix
@@ -1,6 +1,7 @@
 { lib
 , mkDerivation
 , fetchFromGitHub
+, fetchpatch
 , cmake
 , extra-cmake-modules
 , inotify-tools
@@ -41,6 +42,11 @@ mkDerivation rec {
     # Explicitly move dbus configuration files to the store path rather than `/etc/dbus-1/services`.
     ./0001-Explicitly-copy-dbus-files-into-the-store-dir.patch
     ./0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch
+    # don't write cacheDir into home directory
+    (fetchpatch {
+      url = "https://github.com/nextcloud/desktop/commit/3a8aa8a2a88bc9b68098b7866e2a07aa23d3a33c.patch";
+      sha256 = "sha256-OviPANvXap3mg4haxRir/CK1aq8maWZDM/IVsN+OHgk=";
+    })
   ];
 
   postPatch = ''