about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorSergey Mironov <grrwlf@gmail.com>2013-12-05 14:39:25 +0400
committerSergey Mironov <grrwlf@gmail.com>2013-12-05 14:42:16 +0400
commit82fefa0de84c20a8c32ad7324174d44d9868aa0a (patch)
tree4a588c52ec47f57b8c844f4f8a813c1195809938 /pkgs/tools/filesystems
parent1fa1dd24ad1c27b7f3aeaf822b09f205f83c4cd4 (diff)
downloadnixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.tar
nixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.tar.gz
nixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.tar.bz2
nixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.tar.lz
nixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.tar.xz
nixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.tar.zst
nixlib-82fefa0de84c20a8c32ad7324174d44d9868aa0a.zip
yandex-disk: fix bash-completion, add long description
bashCompletion created 'have1' file in the current directory occasionally. this
patch fixes it.
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/yandex-disk/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/yandex-disk/default.nix b/pkgs/tools/filesystems/yandex-disk/default.nix
index 31b1471fb7fc..24dbae08fab3 100644
--- a/pkgs/tools/filesystems/yandex-disk/default.nix
+++ b/pkgs/tools/filesystems/yandex-disk/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
     cp -r -t $out/share usr/share/*
     cp -r -t $out/etc etc/*
 
-    sed -i 's@have@${which}/bin/which >/dev/null 2>&1@' \
+    sed -i 's@have@${which}/bin/which >/dev/null 2>\&1@' \
       $out/etc/bash_completion.d/yandex-disk-completion.bash
 
     ${patchelf}/bin/patchelf \
@@ -49,6 +49,15 @@ stdenv.mkDerivation rec {
     maintainers = with stdenv.lib.maintainers; [smironov];
     platforms = ["i686-linux" "x86_64-linux"];
     license = stdenv.lib.licenses.unfree;
+    longDescription = ''
+      Yandex.Disk console client for Linux lets you manage files on Disk without
+      using a window interface or programs that support WebDAV. The advantages
+      of the console client compared to a WebDAV connection:
+       * low system resource requirements;
+       * faster file reading and writing speeds;
+       * faster syncing with Disk's server;
+       * no need to be constantly connected to work with files.
+    '';
   };
 }