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
This commit is contained in:
Nicolas Goaziou 2024-01-27 15:07:39 +01:00
parent 3821ee62cc
commit 836d608a56
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -5141,7 +5141,15 @@ (define-public texlive-bibexport
"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