From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cGcsLpUe1GNLTgAAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 19:57:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AAI/LZUe1GP4FQEAG6o9tA (envelope-from ) for ; Fri, 27 Jan 2023 19:57:25 +0100 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 8D377F9D1 for ; Fri, 27 Jan 2023 19:57:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLTuK-0003ZK-11; Fri, 27 Jan 2023 13:57:04 -0500 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 1pLTuI-0003W2-JS for bug-guix@gnu.org; Fri, 27 Jan 2023 13:57:02 -0500 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 1pLTuI-0006s1-BJ for bug-guix@gnu.org; Fri, 27 Jan 2023 13:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLTuH-0003hv-Mt for bug-guix@gnu.org; Fri, 27 Jan 2023 13:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46782: guix environment --expose options cannot be layered onto $PWD Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 27 Jan 2023 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46782 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , bbb ee Cc: 46782@debbugs.gnu.org Received: via spool by 46782-submit@debbugs.gnu.org id=B46782.167484578414158 (code B ref 46782); Fri, 27 Jan 2023 18:57:01 +0000 Received: (at 46782) by debbugs.gnu.org; 27 Jan 2023 18:56:24 +0000 Received: from localhost ([127.0.0.1]:38454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLTtf-0003gB-Mg for submit@debbugs.gnu.org; Fri, 27 Jan 2023 13:56:24 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:37424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLTtc-0003fu-IO for 46782@debbugs.gnu.org; Fri, 27 Jan 2023 13:56:22 -0500 Received: by mail-wm1-f42.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so6030031wmb.2 for <46782@debbugs.gnu.org>; Fri, 27 Jan 2023 10:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=aPysVIOWlCKSFGXKfwU9sOINwnBF950r4uZbie5ICuY=; b=fHlHfBNiI2HdKHzNVsToomVLxTs81IpJIune3vJvnRQNQMIThxY2wecUSnc5clnHvV LnuZy9+8gopbrEh/W8VO1b5c/dIf9HFCNQ5aYl6/S38jFqmsXYuwJ2PDifVg9vU4P17x uGUS1p4t4W3JRe1qjlxBRmiXkCBcC4CYuuZXkyxT1UMwc12/76gKKXZCg4cD4g+4BQcb T90l1dNwlqtBhFE5LlkWOKEbA6xzQdvAv+MxbV+U2HimElu02nKn8J4/KN9wSfqpzUe0 v5Qx8zwtFaiwZVnbtkhCQDjyqRvC+1FgYoWKjxU3ACyK807vyW0MEXJDzxPQJXCD2kox q9wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aPysVIOWlCKSFGXKfwU9sOINwnBF950r4uZbie5ICuY=; b=cDBFIC0gKXiuJ9QdJwuxSo+KkbrgCu+mF33w8D/XcsUAVcZ+0vjtjSmGv7XBB+Wlsv 3E3uCPplS+0CjO7NMDASQ/oteuJn00FW1RaFyYzjKLJ7KM4tbl7K9tP2hZ4Is705FaXH jlx2gcCq2dJo0WqFuAPOXkvT5q/Ayn70+sODrPfZ06om5B1+iQ61ACbnW2hraypI8Lku SI3OeDwz2frlfoZOXupqAY/+pIws8vTGpFYAh5IektjKzUmtML8CDv0rKC/MA0HiILms m0Iaqh9OLNd2u/A5BjnHd/XZmgZYIuNiFYYZKsx4MBgwIVS0RIGEhO43jocACZPLBXB+ +IpA== X-Gm-Message-State: AO0yUKWOmZR7wEsuhZyCxzIJPoJ0dqsGuTaDDMQ4s5y488niHVPKmPyh JXAWpUjfPSHSODXky3jUHQjd/9ZXHSE= X-Google-Smtp-Source: AK7set/K/kto839GLgPBy0aQIOw0mjqt69CU81F23E1d7hpmjYBlzKh91mAmCB1/c9wQAbt+qa5EfQ== X-Received: by 2002:a05:600c:1c02:b0:3dc:3b1a:5d2d with SMTP id j2-20020a05600c1c0200b003dc3b1a5d2dmr806916wms.0.1674845774599; Fri, 27 Jan 2023 10:56:14 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id t10-20020a05600c328a00b003d9a86a13bfsm4798043wmp.28.2023.01.27.10.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 10:56:14 -0800 (PST) From: Simon Tournier In-Reply-To: <877cx8x84p.fsf_-_@gmail.com> References: <87blc797i5.fsf@gmail.com> <877cx8x84p.fsf_-_@gmail.com> Date: Fri, 27 Jan 2023 18:31:38 +0100 Message-ID: <87pmazopdx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674845845; 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: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=aPysVIOWlCKSFGXKfwU9sOINwnBF950r4uZbie5ICuY=; b=EWdU3pD7wF/XFGU0KE91KrTz0HrNT1kJI2qhLDkDmt+zvs4OSlB7B5pfWjlkfxttYFyA18 bg1BudnT6ApcGocf3/NLipXCWevDWo+x9h6W7Bajkeh6QEHroMRMXGeQfTPuMInlCDfhYJ X5UlhL50L8/vNashBnJ6uUbUVMgg5jet58NqLwZr/M8gJf/nl9VO9RRSXuyVUGrHgPVTna eLMI9hICccZ9x9+ms7QbUB328/AzCsVnIKjA35LQxwBEMVtvCnQ/4aMVbPwIq+M0LtkwKO b1uZ630M+5chx+ufQErlJSKvN1vSkBgvtduEHzF0dBljNwukhcMWyvMnIXAw8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fHlHfBNi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674845845; a=rsa-sha256; cv=none; b=HEctFKVsK2BlvayO4fj4vOd6+DZbR3SkipRHRh8mEXko87f4m4NykxyYKocOWUxfNRnVgY mojHaXZEhH/KessATEA8odXLLXaq7puzL0JleKCaxF3BXtHgFvqazGWithMn9VOsqlwbpt 8jVPRrJsoVUn1vR0JtYDPSfBq/IU4U6XL3vs4telw2mPXT7lU/wYedN5H2Nvewed5S2MQD rgkSIqN5BeMX/yreuoJbT2s+Q+pbfkFo266xd8Ej/cf1J4wlalOXNCnv9+Ovl5M3Tl1+sW 8v44knihQCKbHzHuO9+YHWK3RwKeHnjxpFntEg3wxTy5wzMflizPc9ogtCOkOg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fHlHfBNi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.47 X-Spam-Score: -0.47 X-Migadu-Queue-Id: 8D377F9D1 X-TUID: hOxh92A3hwLo Hi Maxim, A naive question since it works when using the --no-cwd option. On ven., 27 janv. 2023 at 11:19, Maxim Cournoyer wrote: > --8<---------------cut here---------------start------------->8--- > guix environment -C --expose=/tmp=$PWD/tmp --ad-hoc bash coreutils \ > -- bash -c 'stat $PWD/tmp' > --8<---------------cut here---------------end--------------->8--- Is $PWD referring to the same thing? Because one is outside and the other is inside. Cheers, simon