summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Becze <mjbecze@riseup.net>2020-08-20 12:59:22 -0500
committerLudovic Courtès <ludo@gnu.org>2020-08-28 23:27:53 +0200
commitcd0c4e4ef8b64d0a24d20f525a9b214d9779a78c (patch)
tree7a6c18632c8b6e36766c560493e811616c5e4374
parent3d9ea605c8dfb7fc43689e12975218b032b3175a (diff)
downloadguix-cd0c4e4ef8b64d0a24d20f525a9b214d9779a78c.tar.gz
gnu: chez-srfi: Fix tests.
* gnu/packages/chez.scm (chez-srfi)[arguments]: Add 'CHEZ' and
'chezversion' to #:make-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/chez.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index b80421d3f7..da0b17e799 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -240,7 +240,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))))