Subject: bug#42947: [PATCH 2/2] gnu: chez-srfi: Fix tests.

From: Martin Becze <[email-masked]>
Date: Thu, 20 Aug 2020 12:59:22 -0500

* gnu/packages/chez.scm (chez-srfi): Added make flags so that chez-scheme
loads the tests correctly.
---
 gnu/packages/chez.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index bb584696ae..79a5ad965d 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -242,7 +242,9 @@ and 32-bit PowerPC architectures.")
      `(("chez-scheme" ,chez-scheme)))
     (arguments
      `(#:make-flags (let ((out (assoc-ref %outputs "out")))
-                      (list (string-append "PREFIX=" out)))
+                      (list (string-append "PREFIX=" out)
+                            "CHEZ=chez-scheme --libdirs ./"
+                            (string-append "chezversion=" ,(package-version chez-scheme))))
        #:test-target "test"
        #:phases (modify-phases %standard-phases
                   (delete 'configure))))
-- 
2.28.0