aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/mosh
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-11-03 14:41:21 -0800
committerJude Taylor <me@jude.bio>2015-11-04 10:49:19 -0800
commitd2e6b9f3ae5d4168ebe7ff92371ac09bdc2fcfe5 (patch)
treee2732ab0b26f5006f45d48875d9582641ab94fe0 /pkgs/tools/networking/mosh
parentb3bb609b96e9d994c631a50117da89a6a25495f5 (diff)
Revert "darwin purity: mosh"
This reverts commit 772960bcb7c7b49661f355e36c83962444c2d0c8.
Diffstat (limited to 'pkgs/tools/networking/mosh')
-rw-r--r--pkgs/tools/networking/mosh/default.nix15
1 files changed, 3 insertions, 12 deletions
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix
index 59ff89547f2..ec2f8d78dc6 100644
--- a/pkgs/tools/networking/mosh/default.nix
+++ b/pkgs/tools/networking/mosh/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, zlib, boost, protobuf, ncurses, pkgconfig, IOTty
-, makeWrapper, perl, openssl, autoreconfHook }:
+, makeWrapper, perl, openssl }:
stdenv.mkDerivation rec {
name = "mosh-1.2.5";
@@ -9,19 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "1qsb0y882yfgwnpy6f98pi5xqm6kykdsrxzvaal37hs7szjhky0s";
};
- buildInputs = [
- boost protobuf ncurses zlib pkgconfig IOTty makeWrapper perl openssl
- ] ++ stdenv.lib.optional stdenv.isDarwin autoreconfHook;
-
- prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
- # look for forkpty in libSystem, not libutil
- substituteInPlace configure.ac \
- --replace '[util]' '[System]' \
- --replace 'LIBUTIL="-lutil"' 'LIBUTIL="-lSystem"'
- '';
+ buildInputs = [ boost protobuf ncurses zlib pkgconfig IOTty makeWrapper perl openssl ];
postInstall = ''
- wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB
+ wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB
'';
meta = {