diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-05-12 16:00:58 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-05-12 16:00:58 +0000 |
commit | d59710a58c103d367845311dd56f1bc874c7aa1a (patch) | |
tree | 789661a08e45a040aeeca1cc11f3e28a224af5db /pkgs/games/construo | |
parent | 852603e4df04f8ffe2b5671ce3ac0308290184b3 (diff) |
Fix construo build
svn path=/nixpkgs/trunk/; revision=15573
Diffstat (limited to 'pkgs/games/construo')
-rw-r--r-- | pkgs/games/construo/0.2.2.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/games/construo/0.2.2.nix b/pkgs/games/construo/0.2.2.nix index 9d929afc7c98..2080bb344ea4 100644 --- a/pkgs/games/construo/0.2.2.nix +++ b/pkgs/games/construo/0.2.2.nix @@ -10,21 +10,19 @@ args : with args; ++ (if args ? mesa then [args.mesa args.freeglut] else []) ; configureFlags = [""]; + preConfigure = builderDefs.stringsWithDeps.FullDepEntry ('' + sed -e 's/math[.]h/cmath/' -i vector.cxx + sed -e 's/games/bin/' -i Makefile.in + 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 with localDefs; -let -preConfigure = FullDepEntry ('' - sed -e 's/math[.]h/cmath/' -i vector.cxx - sed -e 's/games/bin/' -i Makefile.in - 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; builder = writeScript (name + "-builder") - (textClosure localDefs [preConfigure doConfigure doMakeInstall doForceShare doPropagate]); + (textClosure localDefs ["preConfigure" "doConfigure" "doMakeInstall" "doForceShare" "doPropagate"]); meta = { description = "Construo masses and springs simulation"; inherit src; |