gnu: emacs-ert-runner: Adjust to changes in emacs-build-system.

* gnu/packages/emacs-xyz.scm (emacs-ert-runner)[install-executable]: Use
elpa-directory for the value of ERT_RUNNER.
This commit is contained in:
Leo Prikler 2021-04-17 19:06:26 +02:00
parent d303a0bc2f
commit d34e6dbc4b
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -13332,8 +13332,7 @@ (define-public emacs-ert-runner
(getenv "TMPDIR") "/source")))
(substitute* "bin/ert-runner"
(("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
(string-append "ERT_RUNNER=\"" out
"/share/emacs/site-lisp")))
(string-append "ERT_RUNNER=\"" (elpa-directory out))))
(install-file "bin/ert-runner" (string-append out "/bin"))
(wrap-program (string-append out "/bin/ert-runner")
(list "EMACSLOADPATH" ":" 'prefix