diff options
| author | Andy Tai <atai@atai.org> | 2025-08-14 01:01:42 -0700 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:31:00 +0100 |
| commit | 817ff57604cb340f26147b2ff328e358fb24df4c (patch) | |
| tree | c11d614b03fb652fa7dc6fbefd5e593eac6d4a00 | |
| parent | a4d39d2cbedfd18a7c4205c155375f6ba49aec54 (diff) | |
gnu: jaro: Set paths.
* gnu/packages/guile-xyz.scm (jaro)[arguments]: Add ‘set-paths’ phase.
Change-Id: I0a1fe4124d4458a1585816398f5362759784acea
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #1988
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
| -rw-r--r-- | gnu/packages/guile-xyz.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 8252b3cf252..96a343bc580 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm | |||
| @@ -7654,6 +7654,24 @@ ftypes.") | |||
| 7654 | (lambda* (#:key outputs #:allow-other-keys) | 7654 | (lambda* (#:key outputs #:allow-other-keys) |
| 7655 | (install-file "jaro" | 7655 | (install-file "jaro" |
| 7656 | (string-append #$output "/bin")))) | 7656 | (string-append #$output "/bin")))) |
| 7657 | (add-before 'install 'set-paths | ||
| 7658 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 7659 | (substitute* "jaro" | ||
| 7660 | (("^exec guile") | ||
| 7661 | (string-append "exec " | ||
| 7662 | (search-input-file inputs "/bin/guile"))) | ||
| 7663 | (("\"mimetype\"") | ||
| 7664 | (string-append "\"" | ||
| 7665 | (search-input-file inputs "/bin/mimetype") | ||
| 7666 | "\"")) | ||
| 7667 | (("\"file\"") | ||
| 7668 | (string-append "\"" | ||
| 7669 | (search-input-file inputs "/bin/file") | ||
| 7670 | "\"")) | ||
| 7671 | (("\"printf\"") | ||
| 7672 | (string-append "\"" | ||
| 7673 | (search-input-file inputs "/bin/printf") | ||
| 7674 | "\""))))) | ||
| 7657 | (replace 'check | 7675 | (replace 'check |
| 7658 | (lambda* (#:key tests? #:allow-other-keys) | 7676 | (lambda* (#:key tests? #:allow-other-keys) |
| 7659 | (when tests? | 7677 | (when tests? |
