From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id dRkeAq3QbWGXiQAAgWs5BA (envelope-from ) for ; Mon, 18 Oct 2021 21:53:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QHbUOKzQbWFhDAAA1q6Kng (envelope-from ) for ; Mon, 18 Oct 2021 19:53:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB9AC127C7 for ; Mon, 18 Oct 2021 21:53:16 +0200 (CEST) Received: from localhost ([::1]:35210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcYh9-0008E6-Tr for larch@yhetil.org; Mon, 18 Oct 2021 15:53:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcYgx-00081y-1e for guix-patches@gnu.org; Mon, 18 Oct 2021 15:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcYgw-00034b-P4 for guix-patches@gnu.org; Mon, 18 Oct 2021 15:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcYgw-0000OQ-OP for guix-patches@gnu.org; Mon, 18 Oct 2021 15:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH v3 00/10] Adding 'guix shell': last call! Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Oct 2021 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50960 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50960@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.16345867761486 (code B ref 50960); Mon, 18 Oct 2021 19:53:02 +0000 Received: (at 50960) by debbugs.gnu.org; 18 Oct 2021 19:52:56 +0000 Received: from localhost ([127.0.0.1]:48660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcYgl-0000NM-WC for submit@debbugs.gnu.org; Mon, 18 Oct 2021 15:52:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcYgh-0000MW-7z for 50960@debbugs.gnu.org; Mon, 18 Oct 2021 15:52:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51624) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcYga-0002ie-Tr; Mon, 18 Oct 2021 15:52:40 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:60778 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcYga-0007lj-KR; Mon, 18 Oct 2021 15:52:40 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Oct 2021 21:52:09 +0200 Message-Id: <20211018195219.13898-1-ludo@gnu.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011213809.17482-1-ludo@gnu.org> References: <20211011213809.17482-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634586796; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=/wEGr8hocABE678EVgfoR0tHGgGrzo6GdgmluOGzBx0=; b=C0DT6J85ugNH2nNrFrS2wPQKIR1n67oDX1lxrgQQD1XPEOLLLe58h2mGPJXrP36eHaTjYU lW+ZfPC5RkoaF/Bir2UzHMnRhrZs0nvzYSOjZ7IayebXog5o9heHjCeIlaX7DagVmB9+gG cPhlvs4mTHo1Xfz0TW6aVAE2rOckoaJRVIhdXovRVLDR3u/YwxFox3YcaBWY/kjyXK/aQg ygXQHAqJDQs7jOMimHPD+pGL41qD6jztlcGybPL81F9MhAuQYOza6pzPR2YbFoNVRjfnBI dKh40PBKsr3JRWe0nHAQzYJmMBG8vmLV9aRQx6QNamtnaPvmt1nEn9Clog3I/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634586796; a=rsa-sha256; cv=none; b=m/00KdVRXUpTL/gnmqAmGMcLnpjwpVFBuwpYpEInELrvLHCDkTrOXEluLrG0gYYwc1Y+TR 76CQoHtlOS7usl8rEl4y7/E6h3PjfqHtvhV1FmZdCissAw1s/oAZCMZLo8obsimGkGXMOB dkjbyQRZfpqPrVl0BccvriX0v3qon37raWFrQkBUN4funXOJ2ywrXNXL5K5b4vYE7uQndY tTXPrG4WNgabVR2k490hSfOEZ6Ym2prlF7zfgmB5YonmjYv+k0dJxGAgB7M3qCWA7iG8ed 0j7qUnepB04Acre5Ztz7UdwanrGTsiTp5ddG97XEP5gvNnErCz8EFLU7beQ3ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BB9AC127C7 X-Spam-Score: -0.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: zrP0Za9yQB82 Hi! This is v3 of the ‘guix shell’ patch set. Changes since v2: • Merged as a single commit the one that adds support for implicit ‘guix.scm’/‘manifest.scm’ and then one that adds authorization checks; • Fixed ‘package-development-inputs’ bug/typo reported by zimoun; • Fixed doc typos reported by Florian. If there are no objections, I’ll go ahead with this patch series in a few days. I’ll also add a news entry, and I guess a blog post introducing it would be welcome. WDYT? Ludo’. Ludovic Courtès (10): packages: Add 'package-development-inputs'. profiles: Add 'package->development-manifest'. Add 'guix shell'. shell: By default load the local 'guix.scm' or 'manifest.scm' file. environment: Add tests for '--profile'. environment: Skip derivation computation when '--profile' is used. environment: Do not connect to the daemon when '--profile' is used. environment: Autoload some modules. cache: Gracefully handle non-existent cache. shell: Maintain a profile cache. Makefile.am | 2 + doc/contributing.texi | 8 +- doc/guix.texi | 443 ++++++++++++++++++++++++++-- guix/cache.scm | 10 +- guix/packages.scm | 10 + guix/profiles.scm | 19 ++ guix/scripts/environment.scm | 260 ++++++++-------- guix/scripts/shell.scm | 355 ++++++++++++++++++++++ po/guix/POTFILES.in | 1 + tests/guix-environment-container.sh | 8 + tests/guix-environment.sh | 7 + tests/guix-shell.sh | 100 +++++++ tests/packages.scm | 14 + tests/profiles.scm | 7 + 14 files changed, 1098 insertions(+), 146 deletions(-) create mode 100644 guix/scripts/shell.scm create mode 100644 tests/guix-shell.sh base-commit: 9cda21cf20a5c9bdf97e3a6d6c8f901fc3e4307d -- 2.33.0