summary refs log tree commit diff
path: root/pkgs/applications/networking/dropbox/fix-cli-paths.patch
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-05-02 13:43:07 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-05-02 13:43:07 +0200
commitdd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42 (patch)
tree4029b6beb3d99017bc6fdbefeade9e51ec1d9fea /pkgs/applications/networking/dropbox/fix-cli-paths.patch
parentaeb464dfd3724e013eb5c6a1bc82b1101d1306ce (diff)
downloadnixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.tar
nixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.tar.gz
nixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.tar.bz2
nixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.tar.lz
nixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.tar.xz
nixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.tar.zst
nixpkgs-dd0c105b87a9c4bdf670a2ac4cce4acc3ca61a42.zip
dropbox-cli: Fix and add Nautilus extension
…since this is actually dropbox-nautilus project.

In one of the previous updates, the source code responsible for finding dropboxd
was changed, rendering our sed replacement not working. That triggered the installer
which in turn failed on the unavailability of gobject-introspection typelibs. And
when that was fixed, we got bitten by our lazy packaging putting a broken code
into the installer.

This is a proper fix for all the issues, except for making typelibs available to
the installer since we shall use Nix instead.
Diffstat (limited to 'pkgs/applications/networking/dropbox/fix-cli-paths.patch')
-rw-r--r--pkgs/applications/networking/dropbox/fix-cli-paths.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/networking/dropbox/fix-cli-paths.patch b/pkgs/applications/networking/dropbox/fix-cli-paths.patch
new file mode 100644
index 00000000000..84cd8014e1e
--- /dev/null
+++ b/pkgs/applications/networking/dropbox/fix-cli-paths.patch
@@ -0,0 +1,11 @@
+--- a/dropbox.in
++++ b/dropbox.in
+@@ -71,7 +71,7 @@
+ 
+ PARENT_DIR = os.path.expanduser("~")
+ DROPBOX_DIST_PATH = "%s/.dropbox-dist" % PARENT_DIR
+-DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd")
++DROPBOXD_PATH = "@dropboxd@"
+ DESKTOP_FILE = "@DESKTOP_FILE_DIR@/dropbox.desktop"
+ 
+ enc = locale.getpreferredencoding()