diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-02-12 12:16:45 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-02-12 19:36:14 +0100 |
commit | 0e7aac44dab5e6c86720bfb2ac854125a9bdf06e (patch) | |
tree | fc903f2f1c05a089630d944ed755342232826b9a /gnu/packages | |
parent | 01e11826bc01691b4c142dbd30dfb2b94418dbda (diff) |
gnu: bigloo: Install Emacs modes.
* gnu/packages/scheme.scm (bigloo): Add `install-emacs-modes' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/scheme.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index b4fb896262..59e1da22ac 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -150,7 +150,15 @@ development cycle.") (find-files "gc" "^install-gc")) (("/bin/rm") (which "rm")) (("/bin/mv") (which "mv")))) - %standard-phases)))) + (alist-cons-after + 'install 'install-emacs-modes + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (dir (string-append out "/share/emacs/site-lisp"))) + (zero? (system* "make" "-C" "bmacs" "all" "install" + (string-append "EMACSBRAND=emacs24") + (string-append "EMACSDIR=" dir))))) + %standard-phases))))) (inputs `(("emacs" ,emacs) ("patch/shebangs" ,(search-patch "bigloo-gc-shebangs.patch")))) |