mosh: support cross compile

This commit is contained in:
squalus 2022-04-03 23:24:17 -07:00
parent 0ae931fb87
commit 93dd7a21ae

View file

@ -11,11 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s";
};
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ];
buildInputs = [ protobuf ncurses zlib openssl bash-completion ]
++ (with perlPackages; [ perl IOTty ])
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ];
buildInputs = [ protobuf ncurses zlib openssl bash-completion perlPackages.perl ]
++ lib.optional withUtempter libutempter;
strictDeps = true;
enableParallelBuilding = true;
patches = [