From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcUPh-0004Ol-4A for guix-patches@gnu.org; Mon, 09 Jul 2018 07:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcUPe-0002w6-1q for guix-patches@gnu.org; Mon, 09 Jul 2018 07:33:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcUPd-0002w0-VR for guix-patches@gnu.org; Mon, 09 Jul 2018 07:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fcUPd-0001TD-OS for guix-patches@gnu.org; Mon, 09 Jul 2018 07:33:01 -0400 Subject: [bug#32104] [PATCH 0/3] guix environment: Simplify environment creation Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcUOj-0004LV-31 for guix-patches@gnu.org; Mon, 09 Jul 2018 07:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcUOi-0002f6-9x for guix-patches@gnu.org; Mon, 09 Jul 2018 07:32:05 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 9 Jul 2018 13:31:47 +0200 Message-Id: <20180709113147.15020-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: 32104@debbugs.gnu.org Hello Guix! These patches aim to simplify (guix scripts environment) by (1) factorizing part of the search path handling machinery in (guix profiles), and (2) by using manifests internally instead of loosely defined lists of “inputs.” The goal is to gradually move towards a situation where (guix scripts environment) contains nothing but UI code and related plumbing. Ludo’. Ludovic Courtès (3): profiles: Factorize 'manifest-search-paths'. environment: Simplify code by using manifests internally. profiles: Introduce 'profile-search-paths' and use it. guix/build/profiles.scm | 2 +- guix/profiles.scm | 26 ++++- guix/scripts/environment.scm | 208 ++++++++++++++--------------------- 3 files changed, 110 insertions(+), 126 deletions(-) -- 2.18.0