summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/nextcloud-client
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-05-12 20:07:49 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-05-12 20:07:49 +0200
commite372ae003eb9a811b995b9ad329389c3743219cf (patch)
tree6353f04b2ab207c1d8888986b2374a5b4b62190e /pkgs/applications/networking/nextcloud-client
parent4c3bcf7f4dd332d3b7a264b49de7227eee44f615 (diff)
nextcloud-client: fix stray cacheDir
Diffstat (limited to 'pkgs/applications/networking/nextcloud-client')
-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 32dadb8e5f92..52e2e083ca17 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 = ''