From bf5e01914bc2dda8a9d82d404ba3722d60a36d3e Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sun, 12 Dec 2021 12:03:11 +0100 Subject: [PATCH] Trying to make mosh actually usable --- utils.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils.nix b/utils.nix index ab6302f..b65fb64 100644 --- a/utils.nix +++ b/utils.nix @@ -27,6 +27,10 @@ in buildInputs = with prev; [ protobuf ncurses zlib openssl ] ++ (with perlPackages; [ perl IOTty ]) ++ lib.optional true libutempter; + preConfigure = '' + ./autogen.sh + ''; + NIX_CFLAGS_COMPILE = "-O2"; src = prev.fetchFromGitHub { owner = "mobile-shell"; repo = "mosh";