expect: use postPatch for stty patch

This commit is contained in:
Jonathan Ringer 2020-02-16 15:54:41 -08:00 committed by Jon
parent 419d0ad370
commit 46a93a7fdb

View file

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
preConfigure = ''
sed -i "s,/bin/stty,$(type -p stty),g" configure
postPatch = ''
sed -i "s,/bin/stty,$(type -p stty),g" configure.in
'';
configureFlags = [