1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Making taskwarrior and podofo have cmake as buildNativeInput.

Otherwise they can't be crossbuilt.
This commit is contained in:
Lluís Batlle i Rossell 2012-10-27 14:50:00 +02:00
parent 63e14b0183
commit da5aecb73b
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
};
buildInputs = [ cmake ];
buildNativeInputs = [ cmake ];
meta = {
description = "GTD (getting things done) implementation";

View file

@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0icpxh1l1dpviq2zwy764dhg8y03zwyf4pgw4s7kb165nvh9v5kv";
};
propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng ];
buildInputs = [ cmake lua5 stdenv.gcc.libc ];
buildNativeInputs = [ cmake ];
buildInputs = [ lua5 stdenv.gcc.libc ];
cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF";
meta = {