From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yA7bG8/wImRS4gAASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 15:51:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wEDFG8/wImTu6QAA9RJhRA (envelope-from ) for ; Tue, 28 Mar 2023 15:51:11 +0200 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 CCC893FA55 for ; Tue, 28 Mar 2023 15:51:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ph9j6-00084K-EW; Tue, 28 Mar 2023 09:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ph9j4-00084C-UT for guix-patches@gnu.org; Tue, 28 Mar 2023 09:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ph9j4-0000Pz-MS for guix-patches@gnu.org; Tue, 28 Mar 2023 09:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ph9j4-0001Gd-Hu for guix-patches@gnu.org; Tue, 28 Mar 2023 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62411] [PATCH] environment: Add '--nesting'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Konrad Hinsen Cc: 62411@debbugs.gnu.org Received: via spool by 62411-submit@debbugs.gnu.org id=B62411.16800114294823 (code B ref 62411); Tue, 28 Mar 2023 13:51:02 +0000 Received: (at 62411) by debbugs.gnu.org; 28 Mar 2023 13:50:29 +0000 Received: from localhost ([127.0.0.1]:49202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph9iX-0001Fj-8E for submit@debbugs.gnu.org; Tue, 28 Mar 2023 09:50:29 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:34617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph9iV-0001FV-M1 for 62411@debbugs.gnu.org; Tue, 28 Mar 2023 09:50:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=/9TXkUrynETcv5GUaxuc/tsR6r39RRnRf+JNmWHDKCs=; b=Sx2SKfB0d7ihfxOjEhR4IYnCGmp97uPbiV5oU1uSwQpqbi5FhYJPq5z1 qiT7KdhGY1PhnJeA7Ry7vGzY6u4/CxS2w1hJ+oymX9LcOClWTp2p2hbLy HaUVMFfzu9YUMrODIcrakLUNlF4MxKV/FiT3s6xCe88I1FD2TtBvBbbeq M=; X-IronPort-AV: E=Sophos;i="5.98,297,1673910000"; d="scan'208";a="51495133" Received: from unknown (HELO ribbon) ([193.50.110.81]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2023 15:50:21 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230323194609.4873-1-ludo@gnu.org> <87edpe7fs6.fsf@gnu.org> <87r0t9iaft.fsf@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 8 Germinal an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la Jonquille X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 28 Mar 2023 15:50:20 +0200 In-Reply-To: (Konrad Hinsen's message of "Tue, 28 Mar 2023 11:40:12 +0200") Message-ID: <87ilelgf37.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680011471; a=rsa-sha256; cv=none; b=WCG2Rl168Vrv2cWlapYt6L7nFtNh8fNDY5s6l78Ka/aGMwmTiRGG9aYrD+3PbXLf0m2/zi coQezIiIhBSu/gm6lQN6NbTE6f8NLDmcpLc8Pd/ch1ROm/lL43FtJAfJbKXDBW323R1695 ojNinS8jOULE9r+6mWpRHx/kCk2BUsW5OMoWQ2LZMKpnHlIhGjpWl7wR07j+gpsVliKiqC hxtpvp3ee0IKqG3b4TK0gOrluNE04SoEURQgrYyss5BiABrV2GlTTyWvXTKoHPOvsVOEWS 7R+3v13dP1mzYxxKN3MnFoLBXEYSyGa2XBu8RATt/SabrujhoWXY8Dz5lWeMJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Sx2SKfB0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680011471; 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:dkim-signature; bh=/9TXkUrynETcv5GUaxuc/tsR6r39RRnRf+JNmWHDKCs=; b=PuqJRucRxjZImL1bykQ7s4nd1GVHFyfFHSIv+mHGa9BvNcYJRBPTu9HPNp6HlSHlNKk153 eg5wmj8RmlIPsjOfSH+HURFaICJhLbGBA0PXt40yziJiQ7QTPJJyq+LPrXO+bsrA9w2Oaz cQ1v8eMG643cEgDpoOtHnttxNFPzF/TozyjjbSN016Ez0modo+uxoqj/VkrZfd22CgB2Do e2Jrg/2g5jC73imtLDXVkdBN3BEIXQ6Wrq9vIBVIpqwAVqQ8zP96ZCZ9Omx9yztx2RWBE2 bWG+yi3JiWMZnGIrqqzqMkbVHAANo09tK6bT3w9v7cv65YJIy0UBzBUnrTPvkQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=Sx2SKfB0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.20 X-Spam-Score: -1.20 X-Migadu-Queue-Id: CCC893FA55 X-TUID: N5hc9e7d5uoN Konrad Hinsen skribis: > Except that I must have missed something: > > $ guix time-machine --url=3D$HOME/src/guix --branch=3Dwip-nested-contai= ners -- shell -C -W -N make bash -- make all > Updating channel 'guix' from Git repository at '/home/hinsen/src/guix'.= .. > guix time-machine: error: Git error: cannot locate remote-tracking > branch 'origin/keyring' Maybe you need to run =E2=80=98git fetch=E2=80=99 and/or make sure the remo= te is called =E2=80=9Corigin=E2=80=9D? > I worked around this using --disable-authentication, but I don't > understand what's going wrong. My repository is a clone of the official > repository at Savannah, and it does have a branch "origin/keyring". Weird. (You would have needed =E2=80=98--disable-authentication=E2=80=99 a= nyway, now that I think about it, because the commit signed by you would have been considered =E2=80=9Cinauthentic=E2=80=9D.) > The patch works as expected for me. I could simplify the instructions > for running my example Makefile from > > guix shell -C -N make bash guix nss-certs \ > --expose=3D/var/guix/daemon-socket/socket \ > --expose=3D/gnu/store \ > -- make all > > to: > > guix shell -C -W -N make bash \ > -- make all > > and. more importantly, require much less explanation of ugly > technicalities. Yay! > The full Makefile is attached for illustrating the context in which I > (intend to) use this new feature. I use time-machine inside the recipes > of my Makefile, in order to make them fully reproducible. This used to > be a very expensive operation without the patch, because the > time-machine in the container did not have access to the global cache on > the host system. It is a lot faster now. > > So... where is the "like" button? ;-) Click here =E2=9E=A1 =F0=9F=91=8D =E2=AC=85 Thanks a lot for testing! If there are no further comments, I=E2=80=99ll p= ush it within a couple of days. Ludo=E2=80=99.