summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8252b3cf25..96a343bc58 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -7654,6 +7654,24 @@ ftypes.")
(lambda* (#:key outputs #:allow-other-keys)
(install-file "jaro"
(string-append #$output "/bin"))))
+ (add-before 'install 'set-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "jaro"
+ (("^exec guile")
+ (string-append "exec "
+ (search-input-file inputs "/bin/guile")))
+ (("\"mimetype\"")
+ (string-append "\""
+ (search-input-file inputs "/bin/mimetype")
+ "\""))
+ (("\"file\"")
+ (string-append "\""
+ (search-input-file inputs "/bin/file")
+ "\""))
+ (("\"printf\"")
+ (string-append "\""
+ (search-input-file inputs "/bin/printf")
+ "\"")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?