summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2022-09-25 16:29:27 +0000
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-09-25 19:27:36 +0200
commit8fc4c3c9ffdd012537d9776a2800cdb2536c47dc (patch)
tree6cd84176577de06fad1abb791f2b1ab74d0229b6
parent89c4273fbf1d436bde474a53d1c25a52378f793a (diff)
gnu: emacs-libgit: Fix build with native compilation.
* gnu/packages/emacs-xyz.scm (emacs-libgit)[#:phases]: Add ‘emacs-add-install-to-native-load-path’ after ‘unpack’. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/emacs-xyz.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b6e64f812d..eb6879b3b9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -967,6 +967,8 @@ on stdout instead of using a socket as the Emacsclient does.")
(install #:outputs outputs
#:include (cons "\\.so$"
emacs:%default-include)))))
+ (add-after 'unpack 'emacs-add-install-to-native-load-path
+ (assoc-ref emacs:%standard-phases 'add-install-to-native-load-path))
(add-after 'install 'make-autoloads
(assoc-ref emacs:%standard-phases 'make-autoloads))
(add-after 'make-autoloads 'enable-autoloads-compilation