Find attached patches taking into account your suggestions. (The second patch is unchanged.)
On Wed, Jun 12, 2019 at 11:11:16PM +0200, Ludovic Courtès wrote: > > + ;; wrap-program needs bash in PATH: > > + (putenv (string-append "PATH=" #$bash "/bin")) > > Why do you think so? ‘wrap-program’ does not read $PATH, AFAICS. > wrap-program uses (which "bash"). Without bash in the path, it generates a wrong shebang “#!#f”. Regards, Florian