From da5aecb73b6390b7bae8c1658ecc84faaffe9cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 27 Oct 2012 14:50:00 +0200 Subject: [PATCH] Making taskwarrior and podofo have cmake as buildNativeInput. Otherwise they can't be crossbuilt. --- pkgs/applications/misc/taskwarrior/default.nix | 2 +- pkgs/development/libraries/podofo/default.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/taskwarrior/default.nix b/pkgs/applications/misc/taskwarrior/default.nix index dbb3c3f6a4ed..cab0c2b07de1 100644 --- a/pkgs/applications/misc/taskwarrior/default.nix +++ b/pkgs/applications/misc/taskwarrior/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation { sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg"; }; - buildInputs = [ cmake ]; + buildNativeInputs = [ cmake ]; meta = { description = "GTD (getting things done) implementation"; diff --git a/pkgs/development/libraries/podofo/default.nix b/pkgs/development/libraries/podofo/default.nix index ad447207a14a..44ae11a6317b 100644 --- a/pkgs/development/libraries/podofo/default.nix +++ b/pkgs/development/libraries/podofo/default.nix @@ -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 = {