From b77be3f3fe561ca2b102750ee44bf94c279f4434 Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Wed, 4 Sep 2013 00:46:08 +0200 Subject: [PATCH] ledger3: Install emacs-lisp files manually. Build process is currently broken for emacs lisp files. Signed-off-by: Moritz Ulrich --- pkgs/applications/office/ledger/3.0.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix index b31cee7143b..6a49ede0857 100644 --- a/pkgs/applications/office/ledger/3.0.nix +++ b/pkgs/applications/office/ledger/3.0.nix @@ -17,6 +17,13 @@ stdenv.mkDerivation { doCheck = true; enableParallelBuilding = true; + # Skip byte-compiling of emacs-lisp files because this is currently + # broken in ledger... + postInstall = '' + mkdir -p $out/share/emacs/site-lisp/ + cp -v $src/lisp/*.el $out/share/emacs/site-lisp/ + ''; + meta = { homepage = "http://ledger-cli.org/"; description = "A double-entry accounting system with a command-line reporting interface";