summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2021-04-17 19:06:26 +0200
committerLeo Prikler <leo.prikler@student.tugraz.at>2021-05-01 15:56:39 +0200
commitd34e6dbc4b5451ce7fd4f9e28ad7efe12add9c80 (patch)
treeeca6f4937b7cfc31b46ba6d269c46ef7254703dd /gnu
parentd303a0bc2f291bbecfa0f45d88f06dbc754029dc (diff)
downloadguix-d34e6dbc4b5451ce7fd4f9e28ad7efe12add9c80.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 68dfc5f79d..a5cde18173 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13332,8 +13332,7 @@ variable instead, to remind you of that variable's meaning.")
 				      (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