ocamlPackages.menhir: remove unnecessary substitution

This commit is contained in:
Robin Gloster 2016-08-29 01:28:15 +00:00
parent 675848419e
commit a2dd51e6a2
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -13,16 +13,14 @@ stdenv.mkDerivation {
createFindlibDestdir = true; createFindlibDestdir = true;
preBuild = '' preBuild = ''
#Fix makefiles. # fix makefiles.
RM=$(type -p rm) RM=$(type -p rm)
CHMOD=$(type -p chmod) CHMOD=$(type -p chmod)
ENV=$(type -p env) for f in src/Makefile demos/OMakefile* demos/Makefile*
for f in src/Makefile demos/OMakefile* demos/Makefile* demos/ocamldep.wrapper
do do
substituteInPlace $f \ substituteInPlace $f \
--replace /bin/rm $RM \ --replace /bin/rm $RM \
--replace /bin/chmod $CHMOD \ --replace /bin/chmod $CHMOD
--replace /usr/bin/env $ENV
done done
export PREFIX=$out export PREFIX=$out