git.iko.soy/typeable/nixpkgs
on master help sign in
mosh: fix segfaulting issue

Discussion on this issue at https://github.com/mobile-shell/mosh/issues/727 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817929#35

commit399d2bca32b5ddb0bed74c6acb96aee0ef598183 authorTristan Helmich <tristan.helmich@gmail.com> dateMon 4 Apr 2016, 15:11 (11 years ago) parentc74cbb8
1 file changed+11−2
pkgs/tools/networking/mosh/default.nix+11−2
pkgs/tools/networking/mosh/default.nix+11−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, zlib, boost, protobuf, ncurses, pkgconfig, IOTty
2−, makeWrapper, perl, openssl }:
2+, makeWrapper, perl, openssl, autoreconfHook, fetchpatch }:
33
44stdenv.mkDerivation rec {
55 name = "mosh-1.2.5";
@@ -9,7 +9,16 @@ stdenv.mkDerivation rec {
99 sha256 = "1qsb0y882yfgwnpy6f98pi5xqm6kykdsrxzvaal37hs7szjhky0s";
1010 };
1111
12− buildInputs = [ boost protobuf ncurses zlib pkgconfig IOTty makeWrapper perl openssl ];
12+ buildInputs = [ autoreconfHook boost protobuf ncurses zlib pkgconfig IOTty makeWrapper perl openssl ];
13+
14+ patches = [
15+ # remove automake detection macro patch on next release as it is already on mosh master
16+ (fetchpatch {
17+ name = "fix_automake_detection_macro.patch";
18+ url = "https://github.com/mobile-shell/mosh/commit/a47917b97606a03f6bbf0cafd1fcd495b0229790.patch";
19+ sha256 = "0ib200ffvbnns125xd58947fyxdx31m06rmnzqmxpxcnjza7k404";
20+ })
21+ ];
1322
1423 postInstall = ''
1524 wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB