summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-09-27 20:02:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-09-27 20:02:55 +0200
commitea1a3601999887a0762a942460317145f3f53b30 (patch)
treec735516b64165455ecfe2d1d606e122abf6566a6
parentde1158d53fd106103214e79f8523a91b9cfa89d7 (diff)
downloadguix-ea1a3601999887a0762a942460317145f3f53b30.tar.gz
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 5c8031ff7382ec9079040d08ae5a05b4dd2352b7.
-rw-r--r--gnu/packages/emacs.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9dc11c59fc..8da5add886 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -6982,8 +6982,8 @@ Emacs.")
                (substitute* "bin/ert-runner"
                  (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
                   (string-append "ERT_RUNNER=\"" out
-                                 "/share/emacs/site-lisp/guix.d/"
-                                 ,name "-" ,version)))
+                                 "/share/emacs/site-lisp/guix.d/ert-runner-"
+                                 ,version)))
                (install-file "bin/ert-runner" (string-append out "/bin"))
                (wrap-program (string-append out "/bin/ert-runner")
                  (list "EMACSLOADPATH" ":" 'prefix