From 82fefa0de84c20a8c32ad7324174d44d9868aa0a Mon Sep 17 00:00:00 2001 From: Sergey Mironov Date: Thu, 5 Dec 2013 14:39:25 +0400 Subject: [PATCH] yandex-disk: fix bash-completion, add long description bashCompletion created 'have1' file in the current directory occasionally. this patch fixes it. --- pkgs/tools/filesystems/yandex-disk/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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. + ''; }; }