about summary refs log tree commit diff
path: root/pkgs/applications/office/ledger/3.0.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/ledger/3.0.nix')
-rw-r--r--pkgs/applications/office/ledger/3.0.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix
index 0df148ce39077..325ab3b0a0f91 100644
--- a/pkgs/applications/office/ledger/3.0.nix
+++ b/pkgs/applications/office/ledger/3.0.nix
@@ -2,15 +2,15 @@
 , pcre, expat, boost, mpfr, git, texinfo }:
 
 let
-  rev = "cf35984971341b8a8688";
+  rev = "d2915c66";
 in
 stdenv.mkDerivation {
-  name = "ledger3-${rev}";
+  name = "ledger3-2012.01.${rev}";
 
   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
   '';