From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwELD-0005Sd-F2 for guix-patches@gnu.org; Sat, 01 Sep 2018 18:26:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwELC-0005G5-Hp for guix-patches@gnu.org; Sat, 01 Sep 2018 18:26:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwELC-0005Fh-CH for guix-patches@gnu.org; Sat, 01 Sep 2018 18:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwELC-0001T6-2b for guix-patches@gnu.org; Sat, 01 Sep 2018 18:26:02 -0400 Subject: [bug#32606] [PATCH 0/1] Switch to Guile-Gcrypt Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwEKV-0005P8-Mb for guix-patches@gnu.org; Sat, 01 Sep 2018 18:25:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwEKU-0004oP-Kf for guix-patches@gnu.org; Sat, 01 Sep 2018 18:25:19 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 2 Sep 2018 00:25:02 +0200 Message-Id: <20180901222502.2334-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32606@debbugs.gnu.org Hi! This patch switches Guix to Guile-Gcrypt, making it a new dependency. I tested things like “guix system vm”, “guix pack”, “make as-derivation”, and “guix pull” from a different branch. Everything seems to be OK. Incidentally, the switch simplifies cases where we need, say, (gcrypt hash) functionality on the build side since now we can simply write: (with-extensions (list guile-gcrypt) #~(begin (use-modules (gcrypt hash)) …)) (Before we had to generate a fake (guix config) with the libgcrypt absolute file name and so on.) Feedback welcome! Ludo’. Ludovic Courtès (1): Switch to Guile-Gcrypt. Makefile.am | 5 - README | 3 +- build-aux/build-self.scm | 81 ++++++- configure.ac | 13 +- doc/guix.texi | 4 +- gnu/packages/bash.scm | 2 +- gnu/system/vm.scm | 48 ++-- guix/derivations.scm | 2 +- guix/docker.scm | 2 +- guix/gcrypt.scm | 49 ---- guix/git.scm | 2 +- guix/hash.scm | 184 --------------- guix/http-client.scm | 2 +- guix/import/cpan.scm | 2 +- guix/import/cran.scm | 2 +- guix/import/crate.scm | 2 +- guix/import/elpa.scm | 2 +- guix/import/gnu.scm | 2 +- guix/import/hackage.scm | 2 +- guix/import/texlive.scm | 2 +- guix/import/utils.scm | 2 +- guix/nar.scm | 4 +- guix/pk-crypto.scm | 407 ---------------------------------- guix/pki.scm | 2 +- guix/scripts/archive.scm | 2 +- guix/scripts/authenticate.scm | 2 +- guix/scripts/download.scm | 2 +- guix/scripts/hash.scm | 6 +- guix/scripts/pack.scm | 60 ++--- guix/scripts/publish.scm | 4 +- guix/scripts/refresh.scm | 2 +- guix/scripts/substitute.scm | 4 +- guix/self.scm | 26 +-- guix/store.scm | 2 +- guix/store/deduplication.scm | 2 +- guix/tests.scm | 2 +- m4/guix.m4 | 18 -- tests/base32.scm | 2 +- tests/builders.scm | 2 +- tests/challenge.scm | 2 +- tests/cpan.scm | 2 +- tests/crate.scm | 2 +- tests/derivations.scm | 2 +- tests/gem.scm | 2 +- tests/hash.scm | 128 ----------- tests/nar.scm | 2 +- tests/opam.scm | 2 +- tests/packages.scm | 2 +- tests/pk-crypto.scm | 290 ------------------------ tests/pki.scm | 4 +- tests/publish.scm | 4 +- tests/pypi.scm | 2 +- tests/store-deduplication.scm | 2 +- tests/store.scm | 2 +- tests/substitute.scm | 4 +- 55 files changed, 175 insertions(+), 1239 deletions(-) delete mode 100644 guix/gcrypt.scm delete mode 100644 guix/hash.scm delete mode 100644 guix/pk-crypto.scm delete mode 100644 tests/hash.scm delete mode 100644 tests/pk-crypto.scm -- 2.18.0