From f05fce5e6e08177615a7a9ce85fc82148722eb1a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 7 Jul 2011 22:48:40 +0000 Subject: [PATCH] ledger: enable XML support so that ledger can read GnuCash data files svn path=/nixpkgs/trunk/; revision=27658 --- pkgs/applications/office/ledger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/ledger/default.nix b/pkgs/applications/office/ledger/default.nix index 010e5c48c1f4..6070087008e1 100644 --- a/pkgs/applications/office/ledger/default.nix +++ b/pkgs/applications/office/ledger/default.nix @@ -16,7 +16,7 @@ # Fortunately, libtools builds the program with proper paths hard-coded # alread, so we don't need patchelf. Phew! -{stdenv, fetchurl, emacs, gmp, pcre}: +{stdenv, fetchurl, emacs, gmp, pcre, expat}: let name = "ledger-2.6.3"; @@ -29,7 +29,7 @@ stdenv.mkDerivation { sha256 = "05zpnypcwgck7lwk00pbdlcwa347xsqifxh4zsbbn01m98bx1v5k"; }; - buildInputs = [ emacs gmp pcre ]; + buildInputs = [ emacs gmp pcre expat ]; configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3"; dontPatchELF = true;