gnu: emacs-pdf-tools: Fix build with native compilation.
authorJohn Kehayias <john.kehayias@protonmail.com>
Sun, 25 Sep 2022 16:28:39 +0000 (16:28 +0000)
committerLiliana Marie Prikler <liliana.prikler@gmail.com>
Sun, 25 Sep 2022 17:09:44 +0000 (19:09 +0200)
* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[#:phases]: Add
‘emacs-add-install-to-native-load-path’ between ‘emacs-expand-load-path’ and
‘emacs-install’.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
gnu/packages/emacs-xyz.scm

index e48757e..b6e64f8 100644 (file)
@@ -4047,7 +4047,9 @@ during idle time, while Emacs is doing nothing else.")
                ("pdf-tools-handle-upgrades" '()))))
          (add-after 'emacs-patch-variables 'emacs-expand-load-path
            (assoc-ref emacs:%standard-phases 'expand-load-path))
-         (add-after 'emacs-expand-load-path 'emacs-install
+         (add-after 'emacs-expand-load-path 'emacs-add-install-to-native-load-path
+           (assoc-ref emacs:%standard-phases 'add-install-to-native-load-path))
+         (add-after 'emacs-add-install-to-native-load-path 'emacs-install
            (assoc-ref emacs:%standard-phases 'install))
          (add-after 'emacs-install 'emacs-build
            (assoc-ref emacs:%standard-phases 'build))