From 6f08adf32bd2e547241db562593f6ea5271f4eff Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sun, 1 Jun 2008 16:06:09 +0000 Subject: [PATCH] Install the emacs syntax highlighter for taskJuggler. svn path=/nixpkgs/trunk/; revision=11944 --- pkgs/applications/misc/taskjuggler/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/taskjuggler/default.nix b/pkgs/applications/misc/taskjuggler/default.nix index 27db42160d2..3812f7edd97 100644 --- a/pkgs/applications/misc/taskjuggler/default.nix +++ b/pkgs/applications/misc/taskjuggler/default.nix @@ -44,6 +44,11 @@ stdenv.mkDerivation rec { --with-kde-support=${if withKde then "yes" else "no"} "; + preInstall = '' + mkdir -p $out/share/emacs/site-lisp/ + cp Contrib/emacs/taskjug.el $out/share/emacs/site-lisp/ + ''; + installFlags = # kde_locale is not defined when installing without kde. if withKde then "" else "kde_locale=\${out}/share/locale";