aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/mosh
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-12-15 03:50:31 +0000
committervolth <volth@volth.com>2018-12-15 03:50:31 +0000
commitbb9557eb7ca623ac9c12bae1fe4f95c9e290d27d (patch)
treec4f1c253bf8cf5fe17612039d2a27acbdacef253 /pkgs/tools/networking/mosh
parent921d046537f6d7f0fc0db07b7aa46be7e9df030b (diff)
lib.makePerlPath -> perlPackages.makePerlPath
Diffstat (limited to 'pkgs/tools/networking/mosh')
-rw-r--r--pkgs/tools/networking/mosh/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix
index c83ab66b27a..9f81e0d5721 100644
--- a/pkgs/tools/networking/mosh/default.nix
+++ b/pkgs/tools/networking/mosh/default.nix
@@ -1,5 +1,5 @@
-{ lib, stdenv, fetchurl, zlib, protobuf, ncurses, pkgconfig, IOTty
-, makeWrapper, perl, openssl, autoreconfHook, openssh, bash-completion
+{ lib, stdenv, fetchurl, zlib, protobuf, ncurses, pkgconfig
+, makeWrapper, perlPackages, openssl, autoreconfHook, openssh, bash-completion
, libutempter ? null, withUtempter ? stdenv.isLinux }:
stdenv.mkDerivation rec {
@@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
- buildInputs = [ protobuf ncurses zlib IOTty makeWrapper perl openssl bash-completion ] ++ lib.optional withUtempter libutempter;
+ buildInputs = [ protobuf ncurses zlib makeWrapper openssl bash-completion ]
+ ++ (with perlPackages; [ perl IOTty ])
+ ++ lib.optional withUtempter libutempter;
patches = [ ./ssh_path.patch ./utempter_path.patch ];
postPatch = ''