syslinux: fix invalid use of substituteInPlace

substituteInPlace was invoked with multiple targets on the command line, which
is not supported.
This commit is contained in:
Thomas Tuegel 2017-07-21 16:51:53 -05:00
parent 9aa4f09008
commit bec5797290
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
preBuild = ''
substituteInPlace Makefile --replace /bin/pwd $(type -P pwd)
substituteInPlace gpxe/src/Makefile.housekeeping --replace /bin/echo $(type -P echo)
substituteInPlace utils/ppmtolss16 gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
substituteInPlace utils/ppmtolss16 --replace /usr/bin/perl $(type -P perl)
substituteInPlace gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl)
'';
stripDebugList = "bin sbin share/syslinux/com32";