Fix includes for construo

svn path=/nixpkgs/trunk/; revision=15532
This commit is contained in:
Michael Raskin 2009-05-10 19:37:27 +00:00
parent ab1d731733
commit a14cede3c2

View File

@ -13,10 +13,13 @@ args : with args;
};
in with localDefs;
let
preConfigure = FullDepEntry ("
preConfigure = FullDepEntry (''
sed -e 's/math[.]h/cmath/' -i vector.cxx
sed -e 's/games/bin/' -i Makefile.in
") [doUnpack minInit];
sed -e '1i\#include <stdlib.h>' -i construo_main.cxx -i command_line.cxx -i config.hxx
sed -e '1i\#include <string.h>' -i command_line.cxx -i lisp_reader.cxx -i unix_system.cxx \
-i world.cxx construo_main.cxx
'') [doUnpack minInit];
in
stdenv.mkDerivation rec {
name = "construo-"+version;