diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-21 23:16:08 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-22 21:17:39 -0400 |
commit | 4cbd60698daf648979fe8ad924602e87dcdefde1 (patch) | |
tree | f4018999e01e495876c7201ff127b8b7edf86167 /ChangeLog | |
parent | 393c5e69281d997b345362626d7ffb988ab862f6 (diff) | |
download | guix-4cbd60698daf648979fe8ad924602e87dcdefde1.tar.gz guix-4cbd60698daf648979fe8ad924602e87dcdefde1.zip |
gnu: emacs: Patch references to /bin/sh.
When attempting to run ert-runner in the build side environment where /bin/sh
doesn't exist as part of the emacs-elpy test suite, Emacs was throwing the
error "Searching for program: No such file or directory, /bin/sh". This is
because the default shell when SHELL is not set was "/bin/sh", as can be seen
in callproc.c:
sh = getenv ("SHELL");
Vshell_file_name = build_string (sh ? sh : "/bin/sh");
Thus, patch the occurrences of "/bin/sh" in the source files of Emacs to refer
to their correct store location.
* gnu/packages/emacs.scm (emacs)[phases]{patch-program-file-names}: Add phase.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions