diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-04-04 18:24:41 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-04-04 18:24:41 +0000 |
commit | 6fa8de41fadc6c439c19ca3133da90d16dcd7d0e (patch) | |
tree | 7f9dc9a407521309b18cda41cbad18e90707f3ba /pkgs/tools/misc/expect | |
parent | afc76c65c6c4f846d156222ae751d2caec2ec2e7 (diff) |
* Referring to stdenv.coreutils breaks on FreeBSD.
svn path=/nixpkgs/trunk/; revision=11463
Diffstat (limited to 'pkgs/tools/misc/expect')
-rw-r--r-- | pkgs/tools/misc/expect/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/expect/default.nix b/pkgs/tools/misc/expect/default.nix index 9e286ba3b703a..f17395b9ece86 100644 --- a/pkgs/tools/misc/expect/default.nix +++ b/pkgs/tools/misc/expect/default.nix @@ -17,8 +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 ''; + patchPhase = '' + substituteInPlace configure --replace /bin/stty "$(type -tP stty)" + ''; configureFlags = "--with-tcl=${tcl}/lib --with-tclinclude=${tcl}/include"; |