flex: patch around attempt to regen manpage, fix cross

This commit is contained in:
Will Dietz 2018-01-07 16:47:54 -06:00
parent 715fcb4266
commit 67be78f129

View File

@ -29,10 +29,11 @@ stdenv.mkDerivation rec {
'';
crossAttrs = {
# disable tests which can't run on build machine
postPatch = ''
substituteInPlace Makefile.in --replace "tests" " ";
substituteInPlace Makefile.in --replace "tests" " "
substituteInPlace doc/Makefile.am --replace 'flex.1: $(top_srcdir)/configure.ac' 'flex.1: '
'';
preConfigure = ''