Merge pull request #167062 from squalus/mosh-cross

mosh: support cross compile
This commit is contained in:
Guillaume Girol 2022-04-04 19:39:09 +00:00 committed by GitHub
commit 924d6ff34d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = [