From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GMz6Fp6C52TlLgAASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 18:17:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GA7wFp6C52Qf4wAAauVa8A (envelope-from ) for ; Thu, 24 Aug 2023 18:17:34 +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 D6DD13FA6F for ; Thu, 24 Aug 2023 18:17:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=WMl0hs7P; 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=laesvuori.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692893853; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EZbxbvEbmfs/IduGh+cHxNQz7yoKj/g6yu7FUK290CE=; b=dYtkFxDE9DPLBkzeh0+bc3UkmqlsRec1fBDn1WElG7RFeqSX1qIJdwDAhUHSjZVyKGx7CM CLQLspIIJaPVLsIgtIrY/HrQ2sSyt2qBBi2h/zsfuL8QBPjPSTRviBB897dYKBoxtAhmHh 5dXAHfFbEosFpqi/t/iPDU0SSjvU1YtAx2hQ8Mp7BY4IFI8KNeN9E1aT5FDW8/4B5L2gTg btBNqrteCWKI4amPyuB8rBb6Xz9Fql62tSK1r+REgp1sJBQMjg0MZsYJ/AXUk2Uya/GsGP xjB8uQIiKqDReRFvmKfb3no4VfKdPGb9H850DsZf09Oy1H5vpgtNUWrCcUCBiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692893853; a=rsa-sha256; cv=none; b=lA+xGZJgoUyklC0qFpGwj+kU1Ks6g9lM2V1tgdrsnd+p0sBCjth/AC85Wq9loonEc2NCgo aYuR546fSiGvHu3ZXGr8xqOUfN0oRp+9HHEnd1tHlTQxVjKSxyxhBSjnLIoNAJP41IJdlj qTuqYQwJuvSHKbKsZTQbeWUBgB+v95v3M3s6thSNTlHkH8HowbFXKcIK4pC/Z98LosNv0B d0fJhWHTJDQpOOc6ZerNmfhX/3HQLOBAc58gVpiz4bKfm5XJQFWcI65JJteFM8vkRutka3 BcT/l1uhPjEDt5bfK75fgEl/zewc9RBjyYjiUaMgo7Gz5dUBuq2Y3+ZLZRA/zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=WMl0hs7P; 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=laesvuori.fi Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZD18-0005dR-Cv; Thu, 24 Aug 2023 12:17:06 -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 1qZD17-0005dH-Mu for help-guix@gnu.org; Thu, 24 Aug 2023 12:17:05 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZD13-0003mL-8d for help-guix@gnu.org; Thu, 24 Aug 2023 12:17:05 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 8A6B3340160; Thu, 24 Aug 2023 18:17:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1692893835; bh=S0CmNhStAy5K0fiy52fNklvn9WrL+TWyxvEUT8zegnk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=WMl0hs7PNDmb2XCKMirCZA2F3uYNFyuphAZVw53nmQn8jwy+odpgBO392O6JQzhAp 5PIHjKuFDTSo0FtgRNvV2HsLOmLiASms/WCONR5RDPXPV7UxHdVdblS6PmEWdKMWqw fNlh1zr1hO0nbaMpHxsQfCnTMMQpmiEy5K1F/KDc= Date: Thu, 24 Aug 2023 19:16:53 +0300 From: Saku Laesvuori To: Simon Tournier Cc: help-guix@gnu.org Subject: Re: GHC packages' inputs leak in guix shell Message-ID: <20230824161653.vha6sk7ot34nixpe@X-kone> References: <20230815065150.5joaxyts646mnpex@X-kone> <86r0nsztxu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="voiruj73z5ur53bn" Content-Disposition: inline In-Reply-To: <86r0nsztxu.fsf@gmail.com> Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.88 X-Spam-Score: -10.88 X-Migadu-Queue-Id: D6DD13FA6F X-Migadu-Scanner: mx1.migadu.com X-TUID: XbZntCYfEr6K --voiruj73z5ur53bn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > Running `guix shell --pure ghc-esqueleto -D ghc-bytestring-builder` > > results in an environment that has the base64-bytestring package (from > > ghc-base64-bytestring) visible, even though it is not listed on listed > > the command line (ghc-bytestring-builder doesn't dependend on it). It > > seems to "leak" from the inputs of ghc-esqueleto which does depend on > > ghc-base64-bytestring. >=20 > What do you mean by =E2=80=9Cleak=E2=80=9D? I would expect packages to keep their (non-propagated) inputs separate =66rom the environment I use. Here ghc-esqueleto makes it's haskell inputs visible to the ghc in my environment. > Does it happen if you run >=20 > guix shell -C ghc-esqueleto -D ghc-bytestring-builder >=20 > ? Yes it does. --voiruj73z5ur53bn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmTngnUACgkQJX0oSiod OjIgnhAAxB1rRksd9mlIU8IPppldvpysd6CSQuGVR5fuhGfT3GSOPyZZC8TE0WFH QxNnnDMDJ03SvKtOw1ApmL3Dhg6VqVfa1T8GG/v9ZuWnM1K4ZO5UGgDyAEgv9HdM /EvUJzJxhl/p7RnGAzFaqul70+bS8gkGV8NFjmixR7rU7rCxSt4eBBjaf5JtVznC LrS0dck6OITsliHPYUAUISsXZJjQlypn3RHthrWqyp7+sBlwuT0NW5VAV2897TwE dSmjbhxtPMTvWP6zg8K6KgMHBqlVfpxFjDXxubSaVhEn8+q4Lvyo7t8uJX3h8SwF uTKu1rkqfRsSmZLyX0/Pb8hhZyUr4BQISdtQI7G8vyrPkqSbOrssJFSVR42K+vZI +8TcsDChlnvdUxA+/yNG9hQw+v++wBjS/T+RgnsrA1zRUTd0yi0onY/U+ApiK+es by99w90UXxI01ERcVIOEYsh+dT3Ar53ExuHySLvX+CmFwPJF72fcJM2woOS/WLWj HpBPKdeO2quVt8gaoRYuiv4Ds7GjFJ8K3Yl7OPPocEvzoJOWhBlRrEWvq94EpB3b ulDfkq6sBKmY0DP31dQ/LY0XDkLWA2jERVDR0XErjS9Eyl6mdmDmIiZ+U8N9qYJp fpcote8i40oNTF1LYbVOXvALECfePTQikfaLD+IJ8ZzlASluilc= =BFBA -----END PGP SIGNATURE----- --voiruj73z5ur53bn--