[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: build: Require Guile 2.2.
From: |
guix-commits |
Subject: |
01/06: build: Require Guile 2.2. |
Date: |
Wed, 9 Jan 2019 09:10:13 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 0991fd53367907908fbd901a9fbe79540e4e4527
Author: Ludovic Courtès <address@hidden>
Date: Sun Jan 6 21:54:08 2019 +0100
build: Require Guile 2.2.
* configure.ac: Require Guile 2.2.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.
* gnu/packages/package-management.scm (guile2.0-guix): Deprecate.
(guix-minimal): Inherit from GUIX, not from GUILE2.0-GUIX.
---
README | 2 +-
configure.ac | 6 +-----
doc/guix.texi | 5 ++---
gnu/packages/package-management.scm | 39 +++++++++++++------------------------
4 files changed, 17 insertions(+), 35 deletions(-)
diff --git a/README b/README
index e787191..296df41 100644
--- a/README
+++ b/README
@@ -20,7 +20,7 @@ Guix is based on the [[https://nixos.org/nix/][Nix]] package
manager.
GNU Guix currently depends on the following packages:
- - [[https://gnu.org/software/guile/][GNU Guile 2.2.x or 2.0.x]], version
2.0.13 or later
+ - [[https://gnu.org/software/guile/][GNU Guile 2.2.x]]
- [[https://notabug.org/cwebber/guile-gcrypt][Guile-Gcrypt]] 0.1.0 or later
- [[https://www.gnu.org/software/make/][GNU Make]]
- [[https://www.gnutls.org][GnuTLS]] compiled with guile support enabled
diff --git a/configure.ac b/configure.ac
index 2817e6e..891fce2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,16 +93,12 @@ m4_pattern_forbid([^GUIX_])
dnl Search for 'guile' and 'guild'. This macro defines
dnl 'GUILE_EFFECTIVE_VERSION'.
-GUILE_PKG([2.2 2.0])
+GUILE_PKG([2.2])
GUILE_PROGS
if test "x$GUILD" = "x"; then
AC_MSG_ERROR(['guild' binary not found; please check your guile-2.x
installation.])
fi
-if test "x$GUILE_EFFECTIVE_VERSION" = "x2.0"; then
- PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.13])
-fi
-
dnl Installation directories for .scm and .go files.
guilemoduledir="${datarootdir}/guile/site/$GUILE_EFFECTIVE_VERSION"
guileobjectdir="${libdir}/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"
diff --git a/doc/guix.texi b/doc/guix.texi
index 9665416..7c6a714 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17,7 +17,7 @@
@set SUBSTITUTE-SERVER ci.guix.info
@copying
-Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic
address@hidden
+Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic
address@hidden
Copyright @copyright{} 2013, 2014, 2016 Andreas address@hidden
Copyright @copyright{} 2013 Nikita address@hidden
Copyright @copyright{} 2014, 2015, 2016 Alex address@hidden
@@ -645,8 +645,7 @@ GNU Guix is available for download from its website at
GNU Guix depends on the following packages:
@itemize
address@hidden @url{http://gnu.org/software/guile/, GNU Guile}, version 2.0.13
or
-later, including 2.2.x;
address@hidden @url{http://gnu.org/software/guile/, GNU Guile}, version 2.2.x;
@item @url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version
0.1.0 or later;
@item
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index 85c95a7..8eb4e2e 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès
<address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
;;; Copyright © 2015, 2017 Ricardo Wurmus <address@hidden>
;;; Copyright © 2017 Muriithi Frederick Muriuki <address@hidden>
;;; Copyright © 2017, 2018 Oleg Pykhalov <address@hidden>
@@ -362,36 +362,23 @@ the Nix package manager.")
(delete 'wrap-program)))))))
(define-public guile2.0-guix
- (package
- (inherit guix)
- (name "guile2.0-guix")
- (inputs
- `(("guile" ,guile-2.0)
- ,@(alist-delete "guile" (package-inputs guix))))
- (propagated-inputs
- `(("gnutls" ,gnutls/guile-2.0)
- ("guile-gcrypt" ,guile2.0-gcrypt)
- ("guile-json" ,guile2.0-json)
- ("guile-sqlite3" ,guile2.0-sqlite3)
- ("guile-ssh" ,guile2.0-ssh)
- ("guile-git" ,guile2.0-git)))))
+ (deprecated-package "guile2.0-guix" guix))
(define-public guix-minimal
;; A version of Guix which is built with the minimal set of dependencies, as
;; outlined in the README "Requirements" section. Intended as a CI job, so
;; marked as hidden.
- (let ((guix guile2.0-guix))
- (hidden-package
- (package
- (inherit guix)
- (name "guix-minimal")
- (inputs
- `(("guile" ,guile-2.0.13)
- ,@(alist-delete "guile" (package-inputs guix))))
- (propagated-inputs
- (fold alist-delete
- (package-propagated-inputs guix)
- '("guile-ssh")))))))
+ (hidden-package
+ (package
+ (inherit guix)
+ (name "guix-minimal")
+ (inputs
+ `(("guile" ,guile-2.2)
+ ,@(alist-delete "guile" (package-inputs guix))))
+ (propagated-inputs
+ (fold alist-delete
+ (package-propagated-inputs guix)
+ '("guile-ssh"))))))
(define (source-file? file stat)
"Return true if FILE is likely a source file, false if it is a typical
- branch master updated (6df4d83 -> 804b9b1), guix-commits, 2019/01/09
- 06/06: build-system/asdf: 'package-with-build-system' accesses inputs lazily., guix-commits, 2019/01/09
- 03/06: download: Remove Guile 2.0 workaround., guix-commits, 2019/01/09
- 02/06: maint: Remove 'cond-expand' forms for Guile 2.0., guix-commits, 2019/01/09
- 04/06: Remove most uses of the _IO*F constants., guix-commits, 2019/01/09
- 01/06: build: Require Guile 2.2.,
guix-commits <=
- 05/06: self: Drop support for Guix < 0.15 on Guile 2.0., guix-commits, 2019/01/09