[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: guile-bash: Build with Guile 3.0.
From: |
guix-commits |
Subject: |
branch master updated: gnu: guile-bash: Build with Guile 3.0. |
Date: |
Thu, 13 May 2021 01:45:56 -0400 |
This is an automated email from the git hooks/post-receive script.
wigust pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 08814cc gnu: guile-bash: Build with Guile 3.0.
08814cc is described below
commit 08814ccc54fe509da096d1a87572d4c36c1aeced
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Thu May 13 08:38:18 2021 +0300
gnu: guile-bash: Build with Guile 3.0.
* gnu/packages/guile-xyz.scm (guile2.0-bash): New variable.
(guile-bash): Build with Guile 3.0.
---
gnu/packages/guile-xyz.scm | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 67c6a7f..18a3ced 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -37,6 +37,7 @@
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
+;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -362,7 +363,7 @@ $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
dictionary and suggesting spelling corrections.")
(license license:gpl3+)))
-(define-public guile-bash
+(define-public guile2.0-bash
;; This project is currently retired. It was initially announced here:
;; <https://lists.gnu.org/archive/html/guile-user/2015-02/msg00003.html>.
(let ((commit "1eabc563ca5692b3e08d84f1f0e6fd2283284469")
@@ -431,6 +432,25 @@ enable -f ~/.guix-profile/lib/bash/libguile-bash.so scm
and then run @command{scm example.scm}.")
(license license:gpl3+))))
+(define-public guile-bash
+ (package
+ (inherit guile2.0-bash)
+ (name "guile-bash")
+ (inputs
+ `(("guile" ,guile-3.0-latest)
+ ,@(assoc-remove! (package-inputs guile2.0-bash) "guile")))
+ (arguments
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'install-guile
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (copy-recursively
+ (string-append (assoc-ref outputs "out")
+ (assoc-ref inputs "guile") "/share")
+ (string-append (assoc-ref outputs "out") "/share"))
+ #t)))
+ ,@(package-arguments guile2.0-bash)))))
+
(define-public guile-8sync
(package
(name "guile-8sync")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: guile-bash: Build with Guile 3.0.,
guix-commits <=