From 93dd7a21ae174695b6d55cbbdc0d9fb063eb8787 Mon Sep 17 00:00:00 2001 From: squalus Date: Sun, 3 Apr 2022 23:24:17 -0700 Subject: [PATCH] mosh: support cross compile --- pkgs/tools/networking/mosh/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix index e87b550aa6fe..7823b7eb9096 100644 --- a/pkgs/tools/networking/mosh/default.nix +++ b/pkgs/tools/networking/mosh/default.nix @@ -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 = [