[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/11: gnu: guile-lib: Add "guile3.0-lib" variant.
From: |
guix-commits |
Subject: |
06/11: gnu: guile-lib: Add "guile3.0-lib" variant. |
Date: |
Thu, 23 Jan 2020 05:28:08 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 675f1940e92eeccf45cc222845077b72bab7593b
Author: Ludovic Courtès <address@hidden>
AuthorDate: Thu Jan 23 11:07:46 2020 +0100
gnu: guile-lib: Add "guile3.0-lib" variant.
* gnu/packages/guile-xyz.scm (guile-lib)[source]: Add 'modules' and
'snippet'.
(guile3.0-lib): New variable.
---
gnu/packages/guile-xyz.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index c3c4845..029054b 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1814,7 +1814,18 @@ library.")
version ".tar.gz"))
(sha256
(base32
- "0aizxdif5dpch9cvs8zz5g8ds5s4xhfnwza2il5ji7fv2h7ks7bd"))))
+ "0aizxdif5dpch9cvs8zz5g8ds5s4xhfnwza2il5ji7fv2h7ks7bd"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Work around miscompilation on Guile 3.0.0 at -O2:
+ ;; <https://bugs.gnu.org/39251>.
+ (substitute* "src/md5.scm"
+ (("\\(define f-ash ash\\)")
+ "(define f-ash (@ (guile) ash))\n")
+ (("\\(define f-add \\+\\)")
+ "(define f-add (@ (guile) +))\n"))
+ #t))))
(build-system gnu-build-system)
(arguments
'(#:make-flags
@@ -1851,6 +1862,12 @@ for Guile\".")
(name "guile2.0-lib")
(inputs `(("guile" ,guile-2.0)))))
+(define-public guile3.0-lib
+ (package
+ (inherit guile-lib)
+ (name "guile3.0-lib")
+ (inputs `(("guile" ,guile-3.0)))))
+
(define-public guile-minikanren
(package
(name "guile-minikanren")
- branch master updated (52d9cad -> 2c9fd76), guix-commits, 2020/01/23
- 02/11: tests: Fix typo in comment., guix-commits, 2020/01/23
- 01/11: installer: Make "TRANSLATORS" comment visible., guix-commits, 2020/01/23
- 05/11: gnu: mcron: Add "guile3.0-mcron" variant., guix-commits, 2020/01/23
- 03/11: gnu: guile-next: Disable JIT on armhf-linux., guix-commits, 2020/01/23
- 06/11: gnu: guile-lib: Add "guile3.0-lib" variant.,
guix-commits <=
- 04/11: gnu: haunt: Add "guile3.0-haunt" variant., guix-commits, 2020/01/23
- 08/11: gnu: guile-rsvg: Add "guile3.0-rsvg" variant., guix-commits, 2020/01/23
- 11/11: gnu: guile-present: Add "guile3.0-present"., guix-commits, 2020/01/23
- 10/11: gnu: guile-present: Pass the right module directories in scripts., guix-commits, 2020/01/23
- 07/11: gnu: guile-cairo: Add "guile3.0-cairo" variant., guix-commits, 2020/01/23
- 09/11: gnu: guile-present: Install .go files in /site-ccache., guix-commits, 2020/01/23