From 6caf0820f96a0f8cf0380e32dca7ccc500d3cc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 5 Apr 2012 16:26:44 +0000 Subject: [PATCH] lsh: Assume UNIX98 PTYs are available. svn path=/nixpkgs/trunk/; revision=33627 --- pkgs/tools/networking/lsh/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/networking/lsh/default.nix b/pkgs/tools/networking/lsh/default.nix index c41ff1c1097d..ab43813f923b 100644 --- a/pkgs/tools/networking/lsh/default.nix +++ b/pkgs/tools/networking/lsh/default.nix @@ -22,6 +22,11 @@ stdenv.mkDerivation rec { s|/usr/bin/df|$(type -P df)|g ; s|/usr/bin/ipcs|$(type -P ipcs)|g ; s|/usr/bin/uptime|$(type -P uptime)|g" + + # Skip the `configure' script that checks whether /dev/ptmx & co. work as + # expected, because it relies on impurities (for instance, /dev/pts may + # be unavailable in chroots.) + export lsh_cv_sys_unix98_ptys=yes ''; buildInputs = [ gperf guile gmp zlib liboop readline gnum4 pam ];