Fix ledger to compile with recent gcc.

Also makes ledger overridable.

svn path=/nixpkgs/trunk/; revision=21854
This commit is contained in:
Peter Simons
2010-05-19 07:50:45 +00:00
parent b4536c217f
commit fa9b6ef08d
3 changed files with 44 additions and 1 deletions
@@ -20,6 +20,8 @@ stdenv.mkDerivation {
buildInputs = [ emacs gmp pcre ];
patches = [ ./const.patch ];
# Something goes wrong with pathelf...
# this is a small workaround: adds a small shell script for
# setting LD_LIBRARY_PATH