efraim pushed a commit to branch master
in repository guix.

commit 7f3516274032ed497e0ab049c95600e88c6cc674
Author: Efraim Flashner <[email protected]>
AuthorDate: Sat Dec 26 22:12:29 2020 +0200

    gnu: gauche: Add slib support.
    
    * gnu/packages/scheme.scm (gauche)[inputs]: Add slib.
    [arguments]: Add configure-flag to find slib.
---
 gnu/packages/scheme.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 3f95ed1..6c30ed8 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <[email protected]>
 ;;; Copyright © 2015, 2016 Federico Beffa <[email protected]>
 ;;; Copyright © 2016 Ricardo Wurmus <[email protected]>
-;;; Copyright © 2016, 2017 Efraim Flashner <[email protected]>
+;;; Copyright © 2016, 2017, 2020 Efraim Flashner <[email protected]>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2016, 2017 Nikita <[email protected]>
 ;;; Copyright © 2017 John Darrington <[email protected]>
@@ -1028,13 +1028,18 @@ The core is 12 builtin special forms and 33 builtin 
functions.")
     (build-system gnu-build-system)
     (inputs
      `(("libatomic-ops" ,libatomic-ops)
+       ("slib" ,slib)
        ("zlib" ,zlib)))
     (native-inputs
      `(("texinfo" ,texinfo)
        ("openssl" ,openssl)            ; needed for tests
        ("pkg-config" ,pkg-config)))    ; needed to find external libatomic-ops
     (arguments
-     `(#:phases
+     `(#:configure-flags
+       (list (string-append "--with-slib="
+                            (assoc-ref %build-inputs "slib")
+                            "/lib/slib"))
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-/bin/sh
            ;; Needed only for tests.

Reply via email to