From 9dccbcfc555b6179ac2e279c017d4573cf843880 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Mon, 31 Mar 2008 12:57:12 +0000 Subject: [PATCH] Resolved issue with hard-corded path to /sbin/stty svn path=/nixpkgs/trunk/; revision=11389 --- pkgs/tools/misc/expect/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/expect/default.nix b/pkgs/tools/misc/expect/default.nix index 8d9b6f6311fd..9e286ba3b703 100644 --- a/pkgs/tools/misc/expect/default.nix +++ b/pkgs/tools/misc/expect/default.nix @@ -17,6 +17,9 @@ stdenv.mkDerivation { # substituteInPlace exp_inter.c --replace tcl.h tclInt.h #''; + coreutils = stdenv.coreutils; + patchPhase = '' sed -i "s@/bin/stty@$coreutils/bin/stty@" configure ''; + configureFlags = "--with-tcl=${tcl}/lib --with-tclinclude=${tcl}/include"; meta = {