~ruther/guix-local

836d608a56bc798fff0cda507f3c1010bbe1f914 — Nicolas Goaziou 2 years ago 3821ee6
gnu: texlive-bibexport: Fix Bash shebang.

<https://issues.guix.gnu.org/68717>

* gnu/packages/tex.scm (texlive-bibexport)[arguments]<#:phases>: Fix Bash
shebang in generated script.

Change-Id: Idc6192495994654e6d0b0b2ca2b15e62de1ee9ae
1 files changed, 9 insertions(+), 1 deletions(-)

M gnu/packages/tex.scm
M gnu/packages/tex.scm => gnu/packages/tex.scm +9 -1
@@ 5141,7 5141,15 @@ multiscript version of @code{biblatex-ms}.")
              "161056627w1lazfpld3lyjwfrl8j8gc4b6dzml46bzwf7mk9ifln")))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "bibexport.sh")))
    (arguments
     (list
      #:link-scripts #~(list "bibexport.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'build 'fix-bash-shebang
            (lambda _
              (substitute* "scripts/bibexport/bibexport.sh"
                (("/bin/bash") (which "bash"))))))))
    (home-page "https://ctan.org/pkg/bibexport")
    (synopsis "Extract a BibTeX file based on a @file{.aux} file")
    (description