The attached patch makes sure that the ‘emacs’ executable does not capture the value of the build-time $PATH (which notably includes the build directory, which may or may not exist afterwards.) (FWIW, the added motivation in the context of Guix and Nix is that the garbage collector would see those references and assume that Emacs needs all these items at run time. See .) Ludo’.