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>
This commit is contained in:
John Kehayias 2022-09-25 16:29:27 +00:00 committed by Liliana Marie Prikler
parent 89c4273fbf
commit 8fc4c3c9ff
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -967,6 +967,8 @@ (define-public emacs-libgit
(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