From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CGwZCVeIsmOt/AAAbAwnHQ (envelope-from ) for ; Mon, 02 Jan 2023 08:31:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uF5UCFeIsmMIggEAG6o9tA (envelope-from ) for ; Mon, 02 Jan 2023 08:31:35 +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 84ED6FF6B for ; Mon, 2 Jan 2023 08:31:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCFGu-0006yG-DP; Mon, 02 Jan 2023 02:30:18 -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 1pBImw-0004NB-QE for help-guix@gnu.org; Fri, 30 Dec 2022 12:03:24 -0500 Received: from mail.city17.xyz ([45.91.101.53]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBImu-0002to-Kf for help-guix@gnu.org; Fri, 30 Dec 2022 12:03:22 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AFB024E05F for ; Fri, 30 Dec 2022 18:03:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=city17.xyz; s=dkim; t=1672419793; h=from:subject:date:message-id:to:mime-version:content-type; bh=ssJCU/pHJDMTXSPWigPXnqMxEDTAxU/Etj/5+W561so=; b=CokccwXF//QClz4a9Ll3H4cUHLmdT8TvFxu4NRv1DsnG8i+IkYHWISCTwvufXExpXlOyYY dtIui/a6PmgCp0hUyUhIM9ZGWCJP7ESVf71eJgPsbugF+MAc9EVExsmq6ZgZcFS9XkN9wo 6yDthsXiQvsffYwtOu0havYHuzLo+W3QYBjlRS30+2KLPTyS/YhSnBpnGuMRE+gcDxsNYl ylBlpSDTyc76pzvibjW5+vp1utBmi0GNFUOMUHsbRc6Tu1ayiMu7J64XwVARC2pM4KCRg5 KP9iZD1fDYmOsiUWYYZrJJbEmNS8e6hM1M253b0p5hdZfnlw2KAVnzDdVe5Omw== User-agent: mu4e 1.6.10; emacs 28.2 From: jman To: help-guix@gnu.org Subject: guix container with FHS emulation and env vars Date: Fri, 30 Dec 2022 17:52:29 +0100 Message-ID: <877cy8lt7y.fsf@city17.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=45.91.101.53; envelope-from=help-guix@city17.xyz; helo=mail.city17.xyz X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.998, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 02 Jan 2023 02:29:49 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-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=1672644695; a=rsa-sha256; cv=none; b=jNmZ8sbZzrD2mFoKnhL0Rp4zhfzsKFLV9vJbAtDSL9RVM+6HKlSW/zlf9lYRsBnLxi9a1O 6rseWkIG1aLJsFKGLvFIIBRKGZCDGnrUePxf/Ot44inQ1/VfliRthbnFV9LTlS7X+m5Wug 2yVCdzlm5llGpYjS3JKANdi9q8nq/1oYQslLhpKhRESq6FLLgBPBWRgsdq/RkckKNLdjxv 5X8V+wwMOM2iiYf8pZicwRiDRmhvOrDWaryKb9Rp3EjmEW+hvJ5hjUjBTqa/xP2TMb2mE+ ghfbeWh9bG90BhDz9qRJZm4V8jZS0sJKkVRmtk8MQVH+hM+D6+tXBipG+5Ulsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=CokccwXF; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=city17.xyz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672644695; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ssJCU/pHJDMTXSPWigPXnqMxEDTAxU/Etj/5+W561so=; b=YDBZ7W/VoxPdpbqAcZtsnIzEwwN79VX4fu78aPiFE9gyVc/pnypkF0HPSoCLXsghYKkctK tIiPTcETBCMYvOzUvH5t+zkOzl967kpouCQnHSBBqw8+ykHQbNwd/0fAlbUpvqFxXrRjHn hkkHDPU8OCNs/SyIKsdr5PZYMYpkp4die6DAMdVNM363UHEudzmA2JiQpOOxqP9KJe5FRN MxhwT6z3K6JYDpf0Mpg+D0htbW0iXYo3rGGQ3DoBJaLcvQuN8xC7nC3/Iy0nX+w4+hlDR4 NggUrByQzKVtI8ppWUyvbZIcyAlKQGQbb/83dAqxCwR3xxaWwNw6DJsOHTIunw== X-Spam-Score: -7.85 X-Migadu-Queue-Id: 84ED6FF6B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=CokccwXF; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=city17.xyz X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.85 X-TUID: DMHxVvKS/Ly2 Hello, When emulating a FHS I observe that env vars are not preserved. Example this command will not preserve $PATH: guix shell --container --emulate-fhs --preserve='^PATH$' When creating a container *without* emulating a FHS, env vars are available, example: guix shell --container --preserve='^PATH$' See this log: https://paste.sr.ht/~jman/65e7f96c445504e11f55595b237280e0c1e3ad34 Any hint? I am a guix newbie so I am sure I am missing something :) thanks