summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-17 21:25:09 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-17 21:25:09 +0200
commitd41a8a07b2bad21e971702c863e1ba629c1f692d (patch)
treefec377475ec4f73686f637839165b570263a6cf9 /gnu
parent7e4871ba9c5dcc7bfb7d293100ec65bde4b0b91c (diff)
downloadguix-d41a8a07b2bad21e971702c863e1ba629c1f692d.tar.gz
gnu: magit: Install .el files directly under share/emacs/site-lisp.
Fixes a regression introduced in 7e4871b.

* gnu/packages/emacs.scm (magit)[arguments]: Add #:make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f40e8443cf..53676bd2da 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -302,6 +302,11 @@ configuration files, such as .gitattributes, .gitignore, and .git/config.")
        #:test-target "test"
        #:tests? #f                          ;'tests/magit-tests.el' is missing
 
+       #:make-flags (list
+                     ;; Don't put .el files in a sub-directory.
+                     (string-append "lispdir=" (assoc-ref %outputs "out")
+                                    "/share/emacs/site-lisp"))
+
        #:phases
        (modify-phases %standard-phases
          (replace