forked from mirrors/nixpkgs
mosh: Install bash-completion rule
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
1d7f90cba2
commit
58fd7719ea
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue