Fix includes in xxdiff

svn path=/nixpkgs/trunk/; revision=15521
This commit is contained in:
Michael Raskin 2009-05-10 05:27:52 +00:00
parent 1facdc08c1
commit d02609f7dc

View File

@ -10,7 +10,7 @@ rec {
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["prepareMainBuild"
phaseNames = ["prepareMainBuild" "fixInc"
"deploy"
"installPythonPackage"
(makeManyWrappers
@ -24,6 +24,10 @@ rec {
make -f Makefile.bootstrap makefile
'') ["minInit" "doUnpack"];
fixInc = FullDepEntry(''
sed -e '1i\#include <stdlib.h>' -i resources.inline.h
'') ["minInit" "doUnpack"];
deploy = FullDepEntry (''
ensureDir $out/bin/
cp ../bin/xxdiff $out/bin