summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-01-21 19:25:50 +0000
committerPeter Simons <simons@cryp.to>2012-01-21 19:25:50 +0000
commit7f062680e419cdcd8ec0f72bcff67d3b102390a0 (patch)
treede27f98378c064dc3fdbb0647d0822258270c4e1
parent83fef2d3faa839c3b65f8b0461b73e7f0e86ff36 (diff)
downloadnixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.tar
nixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.tar.gz
nixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.tar.bz2
nixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.tar.lz
nixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.tar.xz
nixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.tar.zst
nixpkgs-7f062680e419cdcd8ec0f72bcff67d3b102390a0.zip
ledger3: updated to current HEAD
svn path=/nixpkgs/trunk/; revision=31782
-rw-r--r--pkgs/applications/office/ledger/3.0.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix
index ff5842dd7e6..325ab3b0a0f 100644
--- a/pkgs/applications/office/ledger/3.0.nix
+++ b/pkgs/applications/office/ledger/3.0.nix
@@ -2,7 +2,7 @@
 , pcre, expat, boost, mpfr, git, texinfo }:
 
 let
-  rev = "cf35984971341b8a8688";
+  rev = "d2915c66";
 in
 stdenv.mkDerivation {
   name = "ledger3-2012.01.${rev}";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
   src = fetchgit {
     url = "git://github.com/jwiegley/ledger.git";
     inherit rev;
-    sha256 = "4078983db9fc8d232fa71a31b47e505c531971b4515d6ef723e7d333a2352d2a";
+    sha256 = "a489c8b1c48889040d2cebaac1a0019e90acac0b51c9abf7914944dcb4b801e7";
   };
 
   buildInputs = [
@@ -24,7 +24,8 @@ stdenv.mkDerivation {
 
   buildPhase = ''
     sed -i acprep \
-      -e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|'
+      -e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|' \
+      -e 's|/usr/bin/python|${python}/bin/python|'
     export MAKEFLAGS="-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES"
     python acprep update --no-pch --prefix=$out
   '';