3
0
Fork 0
forked from mirrors/nixpkgs

Made lua and task warrior unstable crossbuild fine

svn path=/nixpkgs/trunk/; revision=31251
This commit is contained in:
Lluís Batlle i Rossell 2012-01-03 19:12:06 +00:00
parent 29d613ba0e
commit e43bd7c4ce
2 changed files with 9 additions and 1 deletions

View file

@ -10,7 +10,14 @@ stdenv.mkDerivation {
NIX_LDFLAGS = "-ldl";
buildInputs = [ cmake lua5 ];
buildNativeInputs = [ cmake ];
buildInputs = [ lua5 ];
crossAttrs = {
preConfigure = ''
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
'';
};
meta = {
description = "Command-line todo list manager";

View file

@ -30,6 +30,7 @@ stdenv.mkDerivation {
-e "s/ ranlib/$crossConfig-ranlib/" \
src/Makefile
'';
dontStrip = true;
};
meta = {