From c26cc96da287aab166d30720b59883243db739d3 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Fri, 21 Jan 2022 19:42:24 -0500 Subject: [PATCH] gnu: scm: Fix build. * gnu/packages/scheme.scm (scm)[arguments]: Add trailing slashes for library paths in build and post-install phases. Signed-off-by: Oleg Pykhalov --- gnu/packages/scheme.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 639896bb85..a5b8192f0a 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Morgan Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -621,7 +622,7 @@ utility functions for all standard Scheme implementations.") (replace 'build (lambda* (#:key inputs outputs #:allow-other-keys) (setenv "SCHEME_LIBRARY_PATH" - (search-input-directory inputs "lib/slib")) + (search-input-directory inputs "lib/slib/")) (invoke "make" "scmlit" "CC=gcc") (invoke "make" "all"))) (add-after 'install 'post-install @@ -631,7 +632,7 @@ utility functions for all standard Scheme implementations.") (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")