gnu: emacs-libgit: Adjust to changes in emacs-build-system.

* gnu/packages/emacs-xyz.scm (emacs-libgit)[set-libgit--module-file]: Use
elpa-directory for libgit--module-file path.
This commit is contained in:
Leo Prikler 2021-04-17 19:06:20 +02:00
parent 79cfe30f3e
commit 89718b95a0
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -534,7 +534,7 @@ (define-public emacs-libgit
(make-file-writable "libgit.el")
(emacs-substitute-variables "libgit.el"
("libgit--module-file"
(string-append out "/share/emacs/site-lisp/libegit2.so")))
(string-append (emacs:elpa-directory out) "/libegit2.so")))
#t)))
(add-before 'install 'prepare-for-install
(lambda _