diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-05-10 19:37:27 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-05-10 19:37:27 +0000 |
commit | a14cede3c295eccbf9efcdc160e8f84cf1a23dd7 (patch) | |
tree | 5735b81c7a97fff7a4c4e9b1218e469afd26b8a5 /pkgs/games/construo | |
parent | ab1d7317331fb7f3d0b5de55bcf1e7be3b25e791 (diff) |
Fix includes for construo
svn path=/nixpkgs/trunk/; revision=15532
Diffstat (limited to 'pkgs/games/construo')
-rw-r--r-- | pkgs/games/construo/0.2.2.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/games/construo/0.2.2.nix b/pkgs/games/construo/0.2.2.nix index bd6e95b9cb2f..9d929afc7c98 100644 --- a/pkgs/games/construo/0.2.2.nix +++ b/pkgs/games/construo/0.2.2.nix @@ -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; |