1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-11 23:50:33 +02:00
Files
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
..
2020-03-13 17:33:38 +01:00