From 721dc5164059f235e073d11f8a1e6e1d225be9e4 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 28 Aug 2015 20:36:46 +0000 Subject: [PATCH] telegram-cli: keep arguments passed to the wrapper Also break long lines --- .../instant-messengers/telegram-cli/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix b/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix index 99366da2c84f..b5bd22f88771 100644 --- a/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram-cli/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchgit, libconfig, lua5_2, openssl, readline, zlib -, libevent, pkgconfig, python, jansson, bash +{ stdenv, fetchgit, bash, libconfig, libevent, openssl, + readline, zlib, lua5_2, python, pkgconfig, jansson }: stdenv.mkDerivation rec { @@ -11,14 +11,17 @@ stdenv.mkDerivation rec { rev = "2052f4b381337d75e783facdbfad56b04dec1a9c"; }; - buildInputs = [ libconfig lua5_2 openssl readline zlib libevent pkgconfig python jansson ]; + buildInputs = [ + libconfig libevent openssl readline zlib + lua5_2 python pkgconfig jansson + ]; installPhase = '' mkdir -p $out/bin cp ./bin/telegram-cli $out/bin/telegram-wo-key cp ./tg-server.pub $out/ cat > $out/bin/telegram-cli <