aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-04-15 15:24:02 +0530
committerArun Isaac2022-04-15 15:26:26 +0530
commitd246a28b32cbc64a4f9fe11022f51a8c118fa14b (patch)
tree92993bd6c0cdaedbdbc90abf973258f3eb6c14c3
parent5a37c0ac67cf968a75d287f9e503d67003c79a86 (diff)
downloadguix-bioinformatics-d246a28b32cbc64a4f9fe11022f51a8c118fa14b.tar.gz
gn: tissue: Set absolute path to guile in shebang.
* gn/packages/gemini.scm (tissue)[arguments]: Replace the patch-source-shebangs phase with a custom one.
-rw-r--r--gn/packages/gemini.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn/packages/gemini.scm b/gn/packages/gemini.scm
index 07b664e..1b00a9b 100644
--- a/gn/packages/gemini.scm
+++ b/gn/packages/gemini.scm
@@ -57,6 +57,11 @@
,@%gnu-build-system-modules)
#:phases
(modify-phases %standard-phases
+ (replace 'patch-source-shebangs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "bin/tissue"
+ (("^exec guile")
+ (string-append "exec " (assoc-ref inputs "git-minimal") "/bin/guile")))))
(replace 'configure
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (list "bin/tissue" "tissue/git.scm" "tissue/issue.scm")