summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-01-27 15:07:39 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-01-27 15:07:39 +0100
commit836d608a56bc798fff0cda507f3c1010bbe1f914 (patch)
tree520a77eda2e80f1bcdd0c54b626de178ff9c7aae /gnu/packages/tex.scm
parent3821ee62ccfe21b83d82f313c84497dd9980a0e6 (diff)
downloadguix-836d608a56bc798fff0cda507f3c1010bbe1f914.tar.gz
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
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0d76710daa..69a269db93 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -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