gnu: ravanan: Patch shebang in executable.

* gnu/packages/bioinformatics.scm (ravanan)[arguments]: Replace
patch-source-shebangs phase with custom phase.
This commit is contained in:
Arun Isaac 2025-02-24 19:01:40 +00:00
parent c4fcf8fb62
commit 61428ccf41
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -6721,6 +6721,12 @@ CWL descriptions.")
(with-imported-modules `((guix build guile-build-system)
,@%default-gnu-imported-modules)
#~(modify-phases %standard-phases
(replace 'patch-source-shebangs
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "bin/ravanan"
(("^exec guile")
(string-append "exec "
(search-input-file inputs "/bin/guile"))))))
(delete 'configure)
(add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)