From b36fdf8b739d901307d26295016760dd4c6f7b0d Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Sun, 25 Sep 2022 12:11:02 -0400
Subject: [PATCH 2/2] gnu: emacs-libgit: Fix build with native compilation.
* gnu/packages/emacs-xyz.scm (emacs-libgit)[phases]: Add the
add-install-to-native-load-path phase from emacs:%standard-phases after the
unpack phase.
---
gnu/packages/emacs-xyz.scm | 2 ++
1 file changed, 2 insertions(+)
@@ -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
--
2.37.3