From db1b4e2edc6dbcf97de0cd74af0c3c1a5846dc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 13 Nov 2011 21:28:29 +0000 Subject: [PATCH] GNU Zile: Fix cross-compilation. svn path=/nixpkgs/trunk/; revision=30414 --- pkgs/applications/editors/zile/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/zile/default.nix b/pkgs/applications/editors/zile/default.nix index 6a1762d77ff..0d588e537bb 100644 --- a/pkgs/applications/editors/zile/default.nix +++ b/pkgs/applications/editors/zile/default.nix @@ -8,13 +8,16 @@ stdenv.mkDerivation rec { sha256 = "0ia91c18fyssnhabfb22npmidjkx32rqfkjgxxjibvdwfja25d3k"; }; - buildInputs = [ ncurses boehmgc perl ]; - buildNativeInputs = [ help2man ]; + buildInputs = [ ncurses boehmgc ]; + buildNativeInputs = [ help2man perl ]; # Tests can't be run because most of them rely on the ability to # fiddle with the terminal. doCheck = false; + # XXX: Work around cross-compilation-unfriendly `gl_FUNC_FSTATAT' macro. + preConfigure = "export gl_cv_func_fstatat_zero_flag=yes"; + meta = { description = "GNU Zile, a lightweight Emacs clone";