forked from mirrors/nixpkgs
* Referring to stdenv.coreutils breaks on FreeBSD.
svn path=/nixpkgs/trunk/; revision=11463
This commit is contained in:
parent
afc76c65c6
commit
6fa8de41fa
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue