Subject: [bug#53433] [PATCH 1/3] gnu: scm: Fix build

From: [email-masked]
Date: Fri, 21 Jan 2022 19:42:24 -0500

From: Morgan Smith <[email-masked]>

* gnu/packages/scheme.scm (scm)[arguments]: Add trailing slashes where needed
---
 gnu/packages/scheme.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 639896bb85..abce9a2aae 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -621,7 +621,7 @@ (define-public scm
          (replace 'build
                   (lambda* (#:key inputs outputs #:allow-other-keys)
                     (setenv "SCHEME_LIBRARY_PATH"
-                            (search-input-directory inputs "lib/slib"))
+                            (string-append (search-input-directory inputs "lib/slib/")))
                     (invoke "make" "scmlit" "CC=gcc")
                     (invoke "make" "all")))
          (add-after 'install 'post-install
@@ -631,7 +631,7 @@ (define-public scm
                         (delete-file req)
                         (format (open req (logior O_WRONLY O_CREAT))
                                 "(define (library-vicinity) ~s)\n"
-                                (search-input-directory inputs "lib/slib"))
+                                (search-input-directory inputs "lib/slib/"))
 
                         ;; We must generate the slibcat file.
                         (invoke (string-append out "/bin/scm")
-- 
2.34.0