From a14cede3c295eccbf9efcdc160e8f84cf1a23dd7 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 10 May 2009 19:37:27 +0000 Subject: [PATCH] Fix includes for construo svn path=/nixpkgs/trunk/; revision=15532 --- pkgs/games/construo/0.2.2.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/games/construo/0.2.2.nix b/pkgs/games/construo/0.2.2.nix index bd6e95b9cb2..9d929afc7c9 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 ' -i construo_main.cxx -i command_line.cxx -i config.hxx + sed -e '1i\#include ' -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;