guix/gnu
Maxim Cournoyer 4cbd60698d
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.
2020-03-22 21:17:39 -04:00
..
bootloader
build
installer
machine
packages gnu: emacs: Patch references to /bin/sh. 2020-03-22 21:17:39 -04:00
services services: console-font: Fix docstring. 2020-03-23 00:06:58 +01:00
system
tests
artwork.scm
bootloader.scm
ci.scm
installer.scm
local.mk
machine.scm
packages.scm
services.scm
system.scm
tests.scm