Arun Isaac writes: > * gnu/packages/tex.scm (texlive-bin)[arguments]: Patch texlua shebangs in > postint phase. [...] > (with-directory-excursion "texlive-extra" > (apply unpack (list #:source texlive-extra)) > (apply patch-source-shebangs (list #:source texlive-extra)) > - (invoke "mv" "tlpkg" share)))))))) > + (invoke "mv" "tlpkg" share)) > + ;; texlua shebangs are not patched by the patch-source-shebangs > + ;; phase because the texlua executable does not exist at that > + ;; time. > + (setenv "PATH" (string-append (getenv "PATH") ":" out "/bin")) > + (with-directory-excursion out > + (patch-source-shebangs)))))))) Would it suffice to only patch "out/bin" here? Also, what is the return value of (patch-source-shebangs)? If it's anything other than #t, you know what to do. Apart from that LGTM.