gnu: emacs-ert-runner: Do not use package name in directory.

* gnu/packages/emacs.scm (emacs-ert-runner)[arguments]: Use the upstream name
instead of the Guix package name in the "install-executable" phase.

This is a follow-up to commit 5c8031ff73.
This commit is contained in:
Ricardo Wurmus 2018-09-27 20:02:55 +02:00
parent de1158d53f
commit ea1a360199
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -6982,8 +6982,8 @@ Emacs.")
(substitute* "bin/ert-runner" (substitute* "bin/ert-runner"
(("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)") (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
(string-append "ERT_RUNNER=\"" out (string-append "ERT_RUNNER=\"" out
"/share/emacs/site-lisp/guix.d/" "/share/emacs/site-lisp/guix.d/ert-runner-"
,name "-" ,version))) ,version)))
(install-file "bin/ert-runner" (string-append out "/bin")) (install-file "bin/ert-runner" (string-append out "/bin"))
(wrap-program (string-append out "/bin/ert-runner") (wrap-program (string-append out "/bin/ert-runner")
(list "EMACSLOADPATH" ":" 'prefix (list "EMACSLOADPATH" ":" 'prefix