From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNQ8V-0004kO-8T for guix-patches@gnu.org; Mon, 28 May 2018 17:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNQ8U-0004eH-Dk for guix-patches@gnu.org; Mon, 28 May 2018 17:57:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNQ8U-0004eB-AU for guix-patches@gnu.org; Mon, 28 May 2018 17:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNQ8U-0004mU-3n for guix-patches@gnu.org; Mon, 28 May 2018 17:57:02 -0400 Subject: [bug#31633] [PATCH 0/7] Add 'with-extensions' for gexps Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNQ8D-0004Z7-EP for guix-patches@gnu.org; Mon, 28 May 2018 17:56:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNQ8C-0004Wp-N5 for guix-patches@gnu.org; Mon, 28 May 2018 17:56:45 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 28 May 2018 23:56:29 +0200 Message-Id: <20180528215629.23012-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: 31633@debbugs.gnu.org Hello Guix! These patches add a ‘with-extensions’ form for gexps and then use it. ‘with-extensions’ is akin to ‘with-imported-modules’, except that it lists “full-blown” Guile packages where modules are available under /share/guile/site/2.2 etc. This fixes a longstanding issue where using extensions in gexps would be inconvenient to say the least. Extensions can be thought of as a generalization of “imported modules” in that the latter could be implemented in terms of the former. Perhaps we should do that eventually, though that means that ‘compiled-modules’ and ‘imported-modules’ will have to put files in /share/guile and /lib/guile like “real” packages do. Feedback welcome! Ludo’. Ludovic Courtès (7): gexp: Add 'with-extensions'. pack: Use 'with-extensions' when referring to (guix docker). tests: ssh: Use 'with-extensions'. bootloader: grub: Simplify 'svg->png'. bootloader: grub: Use 'with-extensions'. profiles: Use 'with-extensions'. vm: Use 'with-extensions'. .dir-locals.el | 1 + doc/guix.texi | 33 +++++ gnu/bootloader/grub.scm | 19 +-- gnu/build/svg.scm | 11 +- gnu/system/vm.scm | 93 +++++++------- gnu/tests/ssh.scm | 262 ++++++++++++++++++++-------------------- guix/docker.scm | 6 +- guix/gexp.scm | 168 +++++++++++++++++++------- guix/man-db.scm | 6 +- guix/profiles.scm | 60 +++++---- guix/scripts/pack.scm | 37 +++--- tests/gexp.scm | 86 +++++++++++++ 12 files changed, 477 insertions(+), 305 deletions(-) -- 2.17.0