lib.makePerlPath -> perlPackages.makePerlPath
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user