diff options
author | Anders Kaseorg <andersk@mit.edu> | 2017-12-19 07:37:06 -0500 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2017-12-19 18:32:47 +0100 |
commit | 58fd7719eab78f6b3887ae71a6024b7009a5601b (patch) | |
tree | 40fe2223dcbbcdd06a6f81cbf39bcbf794995449 /pkgs/tools/networking/mosh | |
parent | 1d7f90cba209511ff156914e9c3ee4d638aeeabd (diff) |
mosh: Install bash-completion rule
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'pkgs/tools/networking/mosh')
-rw-r--r-- | pkgs/tools/networking/mosh/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix index e66209c7ce95a..fb94b750e1d83 100644 --- a/pkgs/tools/networking/mosh/default.nix +++ b/pkgs/tools/networking/mosh/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, zlib, protobuf, ncurses, pkgconfig, IOTty -, makeWrapper, perl, openssl, autoreconfHook, openssh }: +, makeWrapper, perl, openssl, autoreconfHook, openssh, bash-completion }: stdenv.mkDerivation rec { name = "mosh-1.3.2"; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ autoreconfHook pkgconfig ]; - buildInputs = [ protobuf ncurses zlib IOTty makeWrapper perl openssl ]; + buildInputs = [ protobuf ncurses zlib IOTty makeWrapper perl openssl bash-completion ]; patches = [ ./ssh_path.patch ]; postPatch = '' @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { --subst-var-by ssh "${openssh}/bin/ssh" ''; + configureFlags = [ "--enable-completion" ]; + postInstall = '' wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB ''; |