mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Fix includes for construo
svn path=/nixpkgs/trunk/; revision=15532
This commit is contained in:
parent
ab1d731733
commit
a14cede3c2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user