From d68daaad8cbd719daaf2ef6f0d148a95c81e1f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 6 Apr 2022 14:14:50 +0200 Subject: [PATCH] mosh: add perl back to buildInputs to fix shebang fixing --- pkgs/tools/networking/mosh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix index 8331e3686dc9..121ba4395b51 100644 --- a/pkgs/tools/networking/mosh/default.nix +++ b/pkgs/tools/networking/mosh/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, fetchpatch, zlib, protobuf, ncurses, pkg-config -, makeWrapper, perlPackages, openssl, autoreconfHook, openssh, bash-completion +, makeWrapper, perl, openssl, autoreconfHook, openssh, bash-completion , withUtempter ? stdenv.isLinux, libutempter }: stdenv.mkDerivation rec { @@ -11,8 +11,8 @@ stdenv.mkDerivation rec { sha256 = "05hjhlp6lk8yjcy59zywpf0r6s0h0b9zxq0lw66dh9x8vxrhaq6s"; }; - nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf perlPackages.perl ]; - buildInputs = [ protobuf ncurses zlib openssl bash-completion ] + nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf perl ]; + buildInputs = [ protobuf ncurses zlib openssl bash-completion perl ] ++ lib.optional withUtempter libutempter; strictDeps = true;